Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Odevzdávací Systém MO
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Model registry
Analyze
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Martin Mareš
Odevzdávací Systém MO
Merge requests
!26
Verzování statických souborů
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
Verzování statických souborů
mj/assets
into
devel
Overview
1
Commits
5
Changes
1
Merged
Martin Mareš
requested to merge
mj/assets
into
devel
4 years ago
Overview
1
Commits
5
Changes
1
Expand
0
0
Merge request reports
Viewing commit
ebc92823
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
ebc92823
V /assets/ se nekontroluje session
· ebc92823
Martin Mareš
authored
4 years ago
mo/web/__init__.py
+
1
−
1
Options
@@ -130,7 +130,7 @@ def need_login():
def
init_request
():
path
=
request
.
path
if
path
.
startswith
(
'
/static/
'
):
if
path
.
startswith
(
'
/static/
'
)
or
path
.
startswith
(
'
/assets/
'
)
:
# Pro statické soubory v development nasazení nepotřebujeme nastavovat
# nic dalšího (v ostrém nasazení je servíruje uwsgi)
return
Loading