Version
Issue
hostname 0.0.0.0 is working when it's alone.
❯ webdev serve --hostname 0.0.0.0 web:8080
[INFO] Reading cached asset graph completed, took 466ms
[INFO] Checking for updates since last build completed, took 1.5s
[INFO] Serving `web` on http://0.0.0.0:8080
[INFO] Running build completed, took 575ms
[INFO] Caching finalized dependency graph completed, took 322ms
[INFO] Succeeded after 910ms with 0 outputs (0 actions)
But localhost is used instead of the hostname 0.0.0.0 specified
❯ webdev serve --hostname 0.0.0.0 --tls-cert-key mydomain/privkey1.pem --tls-cert-chain mydomain/fullchain1.pem web:8080
[INFO] Reading cached asset graph completed, took 448ms
[INFO] Checking for updates since last build completed, took 1.4s
[INFO] Serving `web` on https://127.0.0.1:8080
[INFO] Running build completed, took 554ms
[INFO] Caching finalized dependency graph completed, took 299ms
[INFO] Succeeded after 865ms with 0 outputs (0 actions)
Expectation
Respect the hostname value when --hostname, --tls-cert-key and --tls-cert-chain are used together.
Version
Issue
hostname
0.0.0.0is working when it's alone.But
localhostis used instead of the hostname0.0.0.0specifiedExpectation
Respect the hostname value when
--hostname,--tls-cert-keyand--tls-cert-chainare used together.