From e42518984b04e8c08ed539dfeb0ebdbd90949bea Mon Sep 17 00:00:00 2001 From: Michele Date: Tue, 31 Mar 2026 17:26:48 +0200 Subject: [PATCH] fix: correggi path static dir (parent.parent invece di parent.parent.parent) Co-Authored-By: Claude Sonnet 4.6 --- backend/app/main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/app/main.py b/backend/app/main.py index 3451273..fff3859 100644 --- a/backend/app/main.py +++ b/backend/app/main.py @@ -150,7 +150,7 @@ def health(): # SPA catch-all mount (MUST be last) # --------------------------------------------------------------------------- -_STATIC_DIR = Path(__file__).parent.parent.parent / "static" +_STATIC_DIR = Path(__file__).parent.parent / "static" if _STATIC_DIR.exists(): app.mount("/", SPAStaticFiles(directory=str(_STATIC_DIR), html=True), name="spa")