Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
N
Nuovo sito
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
16
Issues
16
List
Boards
Labels
Milestones
Merge Requests
2
Merge Requests
2
Analytics
Analytics
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Gruppo Web
Nuovo sito
Commits
a9ec7fd5
Commit
a9ec7fd5
authored
8 years ago
by
Pietro Albini
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Actually return a 404 from the not found page
parent
577ad303
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
uitwww/__init__.py
uitwww/__init__.py
+1
-1
No files found.
uitwww/__init__.py
View file @
a9ec7fd5
...
...
@@ -35,7 +35,7 @@ def create_app(data_path):
@
app
.
errorhandler
(
404
)
def
not_found
(
error
):
return
flask
.
render_template
(
"404.html"
)
return
flask
.
render_template
(
"404.html"
)
,
404
return
app
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
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