Replies: 1 comment
-
|
This PR #85615 should fix the request without introducing breaking changes (suggested by @federico-moretti) |
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
Uh oh!
There was an error while loading. Please reload this page.
-
Goals
Non-Goals
No response
Background
When using
output: "standalone", the builtserver.jsuses theHOSTNAMEenvironment variable to attach the server to a specific IP address or hostname.If the variable HOSTNAME, which is quite a generic term, is used for other scopes inside the application, there could arise some troubles.
In my specific case, I had to patch the
server.jsto be able to use a different environment value.Proposal
The proposal is to use a more specific environment variable name, like NEXT_STANDALONE_HOSTNAME.
Beta Was this translation helpful? Give feedback.
All reactions