mirror of
https://github.com/withastro/astro.git
synced 2025-02-10 22:38:53 -05:00
8 lines
517 B
Markdown
8 lines
517 B
Markdown
|
---
|
||
|
'@astrojs/node': major
|
||
|
---
|
||
|
|
||
|
If host is unset in standalone mode, the server host will now fallback to `localhost` instead of `127.0.0.1`. When `localhost` is used, the operating system can decide to use either `::1` (ipv6) or `127.0.0.1` (ipv4) itself. This aligns with how the Astro dev and preview server works by default.
|
||
|
|
||
|
If you relied on `127.0.0.1` (ipv4) before, you can set the `HOST` environment variable to `127.0.0.1` to explicitly use ipv4. For example, `HOST=127.0.0.1 node ./dist/server/entry.mjs`.
|