Skip to content

Commit

Permalink
Update robots.txt
Browse files Browse the repository at this point in the history
Signed-off-by: Toomore Chiang <[email protected]>
  • Loading branch information
toomore committed Jul 18, 2023
1 parent 7ba4444 commit 06d306c
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion main.py
Original file line number Diff line number Diff line change
Expand Up @@ -383,7 +383,11 @@ def bug_report() -> str:
@app.route('/robots.txt')
def robots() -> ResponseBase:
''' robots '''
resp = make_response('User-agent: *\r\nAllow: /', 200)
resp = make_response('''User-agent: *
Allow: /
Sitemap: https://volunteer.coscup.org/sitemap.txt
Sitemap: https://volunteer.coscup.org/docs/sitemap.xml''', 200)
resp.mimetype = 'text/plain'
return resp

Expand Down

0 comments on commit 06d306c

Please sign in to comment.