mirror of
https://git.pleroma.social/pleroma/relay.git
synced 2024-12-23 03:31:07 +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:
|
||||
self.router.add_view(path, view)
|
||||
|
||||
if dev:
|
||||
if self['dev']:
|
||||
static = StaticResource('/static', get_resource('frontend/static'))
|
||||
|
||||
else:
|
||||
|
|
Loading…
Reference in a new issue