Skip to content

Commit

Permalink
Specify the assets folder since we are no longer initalizing from the…
Browse files Browse the repository at this point in the history
… root src directory and the assets folder isn't in the default place now
  • Loading branch information
perfectly-preserved-pie committed May 28, 2024
1 parent 3035a43 commit 1222fe5
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions components/app_config.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,11 +24,12 @@ def create_app(external_stylesheets: List[str], external_scripts: List[Dict[str,
Dash: The configured Dash app.
"""
app = Dash(
__name__,
__name__,
assets_folder='../assets',
external_stylesheets=external_stylesheets,
external_scripts=external_scripts,
use_pages=False,
suppress_callback_exceptions=True,
suppress_callback_exceptions=True,
meta_tags = [
{"name": "viewport", "content": "width=device-width, initial-scale=1"}
],
Expand Down

0 comments on commit 1222fe5

Please sign in to comment.