From 6bc8ed5050b801f67b6815b2e25d1724186e36f8 Mon Sep 17 00:00:00 2001 From: Santiago Martinez Date: Thu, 11 Jan 2024 11:20:55 +0000 Subject: [PATCH] Fix missing statics dir --- back/src/whombat/system/app.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/back/src/whombat/system/app.py b/back/src/whombat/system/app.py index 9573a5ff..da140b36 100644 --- a/back/src/whombat/system/app.py +++ b/back/src/whombat/system/app.py @@ -54,7 +54,7 @@ def create_app(settings: Settings) -> FastAPI: if not user_guide_dir.exists(): user_guide_dir.mkdir(parents=True, exist_ok=True) - statics_dir = user_guide_dir / "statics" + statics_dir = ROOT_DIR / "statics" if not statics_dir.exists(): statics_dir.mkdir(parents=True, exist_ok=True)