feat: remove calendar and refine habits
ci / docker (push) Successful in 3m53s

This commit is contained in:
2026-09-06 07:56:23 +08:00
parent ceaaaa593e
commit 35e562026c
16 changed files with 277 additions and 500 deletions
+2
View File
@@ -806,6 +806,8 @@ if static_dir.exists():
@app.get("/{path:path}", include_in_schema=False)
async def spa(path: str):
if path == "api" or path.startswith("api/"):
raise HTTPException(status_code=404, detail="Not Found")
root = static_dir.resolve()
target = (root / path).resolve()
headers = {"Cache-Control": "no-cache, no-store, must-revalidate, max-age=0"}