Commit f42fceb8 authored by Julian Rother's avatar Julian Rother
Browse files

Added route for /invalidpath (closes #282)

parent f81b39fc
......@@ -235,6 +235,7 @@ def handle_errors(endpoint, text, code, *errors, **epargs):
return wrapper
@app.errorhandler(404)
@app.route('/invalidpath')
def handle_not_found(e):
return render_endpoint('index', 'Diese Seite existiert nicht!'), 404
......
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