Skip to content

Commit

Permalink
change static mount to allies with vite
Browse files Browse the repository at this point in the history
  • Loading branch information
WasinUddy committed Aug 20, 2024
1 parent 257fe1a commit 6b67b41
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion web/backend/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
app = FastAPI()

# Mount static files directory
app.mount("/static", StaticFiles(directory="/app/web/build/static"), name="static")
app.mount("/static", StaticFiles(directory="/app/web/build/assets"), name="static")

# Enable CORS for all origins, methods and headers
app.add_middleware(
Expand Down

0 comments on commit 6b67b41

Please sign in to comment.