Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Video AG Infrastruktur
website
Commits
f42fceb8
Commit
f42fceb8
authored
Aug 21, 2017
by
Julian Rother
Browse files
Added route for /invalidpath (closes #282)
parent
f81b39fc
Changes
1
Hide whitespace changes
Inline
Side-by-side
server.py
View file @
f42fceb8
...
...
@@ -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
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment