Better robots.txt
This commit is contained in:
parent
3a1f2aad1d
commit
038d7242cb
1 changed files with 1 additions and 1 deletions
|
@ -47,7 +47,7 @@ def teardown(exception):
|
|||
|
||||
@app.route('/robots.txt')
|
||||
def no_robots():
|
||||
return 'User-agent: *\nDisallow: /'
|
||||
return app.response_class('User-agent: *\nDisallow: /', mimetype='text/plain')
|
||||
|
||||
|
||||
@app.route('/user')
|
||||
|
|
Loading…
Add table
Reference in a new issue