You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* fix(server): bind PORT and HOST env vars
Declares --port and --host via Option.env() so the env vars
resolve with Commander precedence (cli > env > default) instead
of being overwritten by the flag defaults before createConfig()
reads them. Aligns the config loader and README on the 3000 and
127.0.0.1 defaults the CLI already uses.
* fix(config): harden PORT and HOST env parsing
Treats empty PORT/HOST (docker-compose interpolation of unset
variables) as unset and rejects non-numeric or out-of-range
ports with a clear startup error instead of passing NaN to the
listener. An empty HOST previously reached fastify as '' and
bound all interfaces.
---------
Co-authored-by: Julian Gruber <julian@juliangruber.com>
0 commit comments