Commit bb2d5c6d authored by Mindiell's avatar Mindiell
Browse files

Disallow crawlers

parent b25688d7
......@@ -36,6 +36,10 @@ def paste():
return render_template()
return redirect('/')
@app.route('/robots.txt')
def robots():
return 'User-agent: *\nDisallow: /'
# ================================================
# Launching
......
Supports Markdown
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