From: Karl O. Pinc Date: Thu, 19 Nov 2020 23:31:31 +0000 (-0600) Subject: Every module needs it's own static path X-Git-Url: https://papio.biology.duke.edu/gitweb/?a=commitdiff_plain;h=240338fdf2b51ff8b3ac065078cbfe54035ba1eb;p=pgwui_common Every module needs it's own static path --- diff --git a/src/pgwui_common/pgwui_common.py b/src/pgwui_common/pgwui_common.py index 5a76972..baaa9d4 100644 --- a/src/pgwui_common/pgwui_common.py +++ b/src/pgwui_common/pgwui_common.py @@ -65,7 +65,7 @@ def includeme(config): config.include('pyramid_mako') config.include('pyramid_beaker') config.add_static_view( - 'static', + 'static/pgwui_common', 'pgwui_common:static/', cache_max_age=3600) config.add_route('home', DEFAULT_HOME_ROUTE)