mirror of
https://git.pleroma.social/pleroma/relay.git
synced 2024-11-22 22:48:00 +00:00
load static files into memory when not in dev mode
This commit is contained in:
parent
c961fadc9a
commit
6018af1e68
|
@ -71,7 +71,7 @@ class Application(web.Application):
|
||||||
for path, view in VIEWS:
|
for path, view in VIEWS:
|
||||||
self.router.add_view(path, view)
|
self.router.add_view(path, view)
|
||||||
|
|
||||||
if dev:
|
if self['dev']:
|
||||||
static = StaticResource('/static', get_resource('frontend/static'))
|
static = StaticResource('/static', get_resource('frontend/static'))
|
||||||
|
|
||||||
else:
|
else:
|
||||||
|
|
Loading…
Reference in a new issue