diff --git a/mo/web/__init__.py b/mo/web/__init__.py index a5d48e758e40c038f99625631e838fd2984da40b..cc70d82afad5419eec7986054df9b3e20ebdf983 100644 --- a/mo/web/__init__.py +++ b/mo/web/__init__.py @@ -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