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
a6f18878
Commit
a6f18878
authored
Aug 21, 2017
by
Andreas Valder
Browse files
Merge branch 'master' of git.fsmpi.rwth-aachen.de:videoagwebsite/videoagwebsite
parents
1c687f67
140275a2
Changes
1
Hide whitespace changes
Inline
Side-by-side
server.py
View file @
a6f18878
...
...
@@ -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
)
...
...
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