From 6b67b41edeb316891b2fa519029f888d063d6a9d Mon Sep 17 00:00:00 2001 From: WasinUddy Date: Tue, 20 Aug 2024 23:50:26 +0700 Subject: [PATCH] change static mount to allies with vite --- web/backend/main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/backend/main.py b/web/backend/main.py index 95b5810..312835a 100644 --- a/web/backend/main.py +++ b/web/backend/main.py @@ -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(