Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Portal
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Container Registry
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Fachschaft
Portal
Merge requests
!22
Make MyPy happy
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
Make MyPy happy
make-mypy-happy
into
master
Overview
6
Commits
13
Pipelines
0
Changes
1
All threads resolved!
Hide all comments
Merged
karp
requested to merge
make-mypy-happy
into
master
7 months ago
Overview
6
Commits
13
Pipelines
0
Changes
1
All threads resolved!
Hide all comments
Expand
Fixes for various type errors throw by mypy.
0
0
Merge request reports
Viewing commit
59bbca69
Prev
Next
Show latest version
1 file
+
1
−
1
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Verified
59bbca69
Make annotation more specific
· 59bbca69
Jakob Moser
authored
7 months ago
portal/main.py
+
1
−
1
Options
@@ -6,7 +6,7 @@ bp = Blueprint("main", __name__)
@bp.get
(
"
/
"
,
defaults
=
{
"
_
"
:
""
})
@bp.get
(
"
/<path:_>
"
)
def
index
(
_
:
object
)
->
str
:
def
index
(
_
:
str
)
->
str
:
"""
Serve the index page at /*, i.e. at any path below / and at / itself.
Loading