fix: Make Swagger server URLs fully configurable

- Add configurable server URL from API_BASE_URL env var
- Make production server optional via PRODUCTION_API_URL env var
- Remove hardcoded https://api.goagel.gov.in
- Document PRODUCTION_API_URL in .env.example
This commit is contained in:
Mahi
2026-02-09 09:54:55 -04:00
parent cbcfa43d32
commit 10de6fa630
2 changed files with 15 additions and 2 deletions

View File

@@ -64,6 +64,11 @@ PLATFORM_WALLET_PRIVATE_KEY=
# NODE_ENV=production
# FORCE_RESEED=false
# Production API URL for Swagger documentation
# Only set this when you have a production domain configured
# Example: https://api.goagel.gov.in
# PRODUCTION_API_URL=
# External ports (if defaults conflict)
# API_PORT=3001
# FRONTEND_PORT=4200