Commit fdf1bc41 authored by j's avatar j

Prevent indexing

parent ff0940a5
......@@ -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():
User-agent: *
Disallow: /
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment