mirror of
https://github.com/fastapi/full-stack-fastapi-template.git
synced 2026-11-03 12:29:42 +00:00
♻️ Use FASTAPI_ENV for development (#2427)
## AI Disclaimer Using Codex with gpt-5.6-sol. Reviewed manually.
This commit is contained in:
committed by
GitHub
parent
111c5fad66
commit
e95e501951
@@ -10,5 +10,5 @@ api_router.include_router(utils.router)
|
||||
api_router.include_router(items.router)
|
||||
|
||||
|
||||
if settings.ENVIRONMENT == "local":
|
||||
if settings.FASTAPI_ENV == "development":
|
||||
api_router.include_router(private.router)
|
||||
|
||||
Reference in New Issue
Block a user