load static files into memory when not in dev mode

This commit is contained in:
Izalia Mae 2024-03-15 21:24:17 -04:00
parent c961fadc9a
commit 6018af1e68

View file

@ -71,7 +71,7 @@ class Application(web.Application):
for path, view in VIEWS:
self.router.add_view(path, view)
if dev:
if self['dev']:
static = StaticResource('/static', get_resource('frontend/static'))
else: