Skip to content
Snippets Groups Projects
Commit ebc92823 authored by Martin Mareš's avatar Martin Mareš
Browse files

V /assets/ se nekontroluje session

parent 19017847
No related branches found
No related tags found
1 merge request!26Verzování statických souborů
This commit is part of merge request !26. Comments created here will be created in the context of that merge request.
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment