Security: disable Swagger in prod, remove debug field #7

Merged
qzl merged 1 commits from dev into main 2026-04-30 11:48:04 +08:00
Owner

Remove unused debug field from RuntimeSettings. Disable /docs /redoc /openapi.json when ENVIRONMENT=prod.

Remove unused debug field from RuntimeSettings. Disable /docs /redoc /openapi.json when ENVIRONMENT=prod.
qzl added 1 commit 2026-04-30 11:48:03 +08:00
qzl merged commit f2c3c795e7 into main 2026-04-30 11:48:04 +08:00
Sign in to join this conversation.
No Reviewers
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: qzl/eryao#7