This commit is contained in:
Team3
2026-06-06 02:26:42 +02:00
parent a8fbf83059
commit 18bb18bf4a
30 changed files with 1184 additions and 4880 deletions

View File

@@ -10,7 +10,8 @@ from routes import router
@asynccontextmanager
async def lifespan(app: FastAPI):
(STORAGE_DIR / "html").mkdir(parents=True, exist_ok=True)
(STORAGE_DIR / "guides").mkdir(parents=True, exist_ok=True)
(STORAGE_DIR / "bausteine").mkdir(parents=True, exist_ok=True)
await init_db()
yield
await close_db()