Replies: 1 comment
-
Aaaand it's done, thanks :) |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi!
I tried to use the new standalone mode with the node adapter, and it's great so far :)
But I have one request, I struggled to find how to change the host.
Currently, to change the host of the server, we have to define it at build time (
astro build --host 0.0.0.0
). (And it's not documented, I found the trick here https://github.com/withastro/astro/blob/6e6a339e6d6f0bce75511f179f656f2a2b8b651c/packages/integrations/node/src/standalone.ts#L30)I think it would be useful to be able to change the host with an env var, just like we are able to change the port.
Beta Was this translation helpful? Give feedback.
All reactions