Add robots.txt

This commit is contained in:
Your New SJW Waifu 2020-02-25 16:12:54 -06:00
parent 32358b8abd
commit 6422115c40
2 changed files with 13 additions and 0 deletions

View File

@ -8,6 +8,7 @@ npm run build
rsync -ra public/ "${TARGET}/instance/static"
cp dist/index.html "${TARGET}/instance/static/index.html"
cp robots.txt "${TARGET}/instance/static/robots.txt"
rsync --delete -ra dist/static/ "${TARGET}/instance/static/static"
rsync --delete -ra images/ "${TARGET}/instance/static/images"
rsync --delete -ra sounds/ "${TARGET}/instance/static/sounds"

12
robots.txt Normal file
View File

@ -0,0 +1,12 @@
# See http://www.robotstxt.org/robotstxt.html for documentation on how to use the robots.txt file
User-agent: *
Disallow: /web
Disallow: /settings
Disallow: /login
Disallow: /user-search
Disallow: /registration
Disallow: /cgi-bin
Disallow: /pages/DMCA.html
Disallow: /oauth
Disallow: /search
Disallow: /tag