This commit is contained in:
Team3
2026-05-25 19:28:25 +02:00
parent 1cef392892
commit 66a48759b3
11 changed files with 169 additions and 67 deletions

View File

@@ -12,6 +12,7 @@ from routes import router
async def lifespan(app: FastAPI):
(STORAGE_DIR / "html").mkdir(parents=True, exist_ok=True)
(STORAGE_DIR / "pdf").mkdir(parents=True, exist_ok=True)
(STORAGE_DIR / "preview").mkdir(parents=True, exist_ok=True)
await init_db()
yield