forked from Mirrors/keyoxide-web
Add robots.txt
This commit is contained in:
parent
57a7a34287
commit
470198033a
2 changed files with 7 additions and 0 deletions
1
index.js
1
index.js
|
@ -44,6 +44,7 @@ app.set('keyoxide_version', packageData.version);
|
|||
app.set('onion_url', process.env.ONION_URL);
|
||||
|
||||
app.use('/favicon.svg', express.static('favicon.svg'));
|
||||
app.use('/robots.txt', express.static('robots.txt'));
|
||||
|
||||
app.use(stringReplace({
|
||||
PLACEHOLDER__XMPP_VCARD_SERVER_DOMAIN: process.env.XMPP_VCARD_SERVER_DOMAIN || 'xmpp-vcard.keyoxide.org'
|
||||
|
|
6
robots.txt
Normal file
6
robots.txt
Normal file
|
@ -0,0 +1,6 @@
|
|||
User-agent: *
|
||||
Allow: /$
|
||||
Allow: /guides
|
||||
Allow: /getting-started
|
||||
Allow: /faq
|
||||
Disallow: /
|
Loading…
Reference in a new issue