Skip to content

Commit

Permalink
chore: add root path to static
Browse files Browse the repository at this point in the history
  • Loading branch information
dantetemplar committed Oct 10, 2024
1 parent e4c646e commit 8be809a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/api/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
allow_headers=["*"],
)

app.mount("/static", StaticFiles(directory="static"), name="static")
app.mount(f"{settings.app_root_path}/static", StaticFiles(directory="static"), name="static")

from src.modules.scenes.routes import router as router_bookings # noqa: E402

Expand Down

0 comments on commit 8be809a

Please sign in to comment.