sync: README — build linux/amd64 (ADR-061)
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
@@ -52,9 +52,7 @@ def create_app() -> FastAPI:
|
|||||||
app = FastAPI(
|
app = FastAPI(
|
||||||
title="__APP_NAME__",
|
title="__APP_NAME__",
|
||||||
version="0.1.0",
|
version="0.1.0",
|
||||||
dependencies=(
|
dependencies=([Depends(_require_auth_dep)] if settings.OPENAPI_REQUIRE_AUTH else []),
|
||||||
[Depends(_require_auth_dep)] if settings.OPENAPI_REQUIRE_AUTH else []
|
|
||||||
),
|
|
||||||
)
|
)
|
||||||
|
|
||||||
@app.middleware("http")
|
@app.middleware("http")
|
||||||
|
|||||||
Reference in New Issue
Block a user