This commit is contained in:
root
2026-05-28 15:20:25 +00:00
parent 6a39dc7ee2
commit 81913f3d8d
4 changed files with 27 additions and 123 deletions

View File

@@ -12,7 +12,6 @@ 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
await close_db()