1. Tobias Berling
  2. paste2

Commits

Tobias Berling  committed 2746586

Added 404 for /favicon.ico.

  • Participants
  • Parent commits d36ad18
  • Branches default

Comments (0)

Files changed (1)

File paste2.py

View file
  • Ignore whitespace
 def help():
     return "nothing to see here\n"
 
+@app.route('/favicon.ico')
+def favicon():
+    abort(404)
+
 @app.route('/', methods=['POST'])
 def post():
     content = request.form.get('content', '')