Grapette.L 2c43767bbe
fix(gateway): treat a blank GATEWAY_HOST/GATEWAY_PORT as unset (#5801)
os.getenv's default only covers an unset variable, so `docker run -e
GATEWAY_PORT=` — or `GATEWAY_PORT=${PORT}` with PORT unset — reached
int("") and aborted the create_app() import that both entry points run.
Blank now falls back to the declared default, while "0" stays a real port.
2026-09-24 15:56:38 +08:00
..