Prevent indexing
This commit is contained in:
parent
ff0940a5af
commit
fdf1bc4153
|
@ -160,6 +160,9 @@ def random_quote():
|
|||
return mattermost_response(response)
|
||||
return mattermost_response('No quotes found matching "{}"'.format(text_contains), ephemeral=True)
|
||||
|
||||
@app.route('/robots.txt', methods=['GET'])
|
||||
def get_robots():
|
||||
return render_template('robots.txt')
|
||||
|
||||
@app.route('/', methods=['GET'])
|
||||
def list_quotes():
|
||||
|
|
|
@ -0,0 +1,2 @@
|
|||
User-agent: *
|
||||
Disallow: /
|
Loading…
Reference in New Issue