Commit a6f18878 authored by Andreas Valder's avatar Andreas Valder
Browse files

Merge branch 'master' of git.fsmpi.rwth-aachen.de:videoagwebsite/videoagwebsite

parents 1c687f67 140275a2
......@@ -235,7 +235,8 @@ def handle_errors(endpoint, text, code, *errors, **epargs):
return wrapper
@app.errorhandler(404)
def handle_not_found(e):
@app.route('/invalidpath')
def handle_not_found(e=None):
return render_endpoint('index', 'Diese Seite existiert nicht!'), 404
@app.errorhandler(500)
......
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