diff --git a/bemani/frontend/app.py b/bemani/frontend/app.py index 97c534a..24aed54 100644 --- a/bemani/frontend/app.py +++ b/bemani/frontend/app.py @@ -374,6 +374,7 @@ def navigation() -> Dict[str, Any]: return { "components": components, "any": jinja2_any, + "assets": f"themes/{config.theme}/", "theme_url": jinja2_theme, "cache_bust": f"v={FRONTEND_CACHE_BUST}", } @@ -384,6 +385,7 @@ def navigation() -> Dict[str, Any]: return { "components": components, "any": jinja2_any, + "assets": f"themes/{config.theme}/", "theme_url": jinja2_theme, "cache_bust": f"v={FRONTEND_CACHE_BUST}", } @@ -938,6 +940,7 @@ def navigation() -> Dict[str, Any]: "navigation": pages, "components": components, "any": jinja2_any, + "assets": f"themes/{config.theme}/", "theme_url": jinja2_theme, "cache_bust": f"v={FRONTEND_CACHE_BUST}", } diff --git a/bemani/frontend/static/components/add.react.js b/bemani/frontend/static/components/add.react.js index d69230c..48b87a7 100644 --- a/bemani/frontend/static/components/add.react.js +++ b/bemani/frontend/static/components/add.react.js @@ -5,6 +5,7 @@ var Add = createReactClass({ return (