修正
This commit is contained in:
@@ -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 定義の後)
|
||||
|
||||
Reference in New Issue
Block a user