This commit is contained in:
admin
2026-01-22 22:10:17 +09:00
parent 536266d70b
commit 50e534094d
9 changed files with 590 additions and 17 deletions

View File

@@ -32,9 +32,9 @@ async def validation_exception_handler(request: Request, exc: ValidationError):
# ─────────────────────────
# ルート(稼働確認)
# ─────────────────────────
@app.get("/", summary="稼働確認")
@app.get("/", include_in_schema=False)
def root():
return {"status": "ok"}
return RedirectResponse(url="/index.html")
# ─────────────────────────
# ルーター登録(※ 必ず app 定義の後)