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
The probleme is that in the generated entrypoints.json file, all urls start with http://localhost:8080/build/.
The server configuration options are not used
If I use the cli params, urls in the entrpoints file are OK :
encore dev-server --host 0.0.0.0 --port 3000
# => urls in entrypoinys.json start with 'http://0.0.0.0:3000/'
Is this a bug or have i missing something ?
Thanks
The text was updated successfully, but these errors were encountered:
Hmm, that's a good question. The intended way to set the host or port is via the command-line options. We intercept those and use them in other places (like figuring out the paths for the entrypoints). What we don't do is read the dev server options that you've set (e.g. options.host) and then use those later.
Hello,
To configure the webpack dev-server, I use the configureDevServerOptions method in the webpack.config.js file :
The probleme is that in the generated entrypoints.json file, all urls start with
http://localhost:8080/build/
.The server configuration options are not used
If I use the cli params, urls in the entrpoints file are OK :
encore dev-server --host 0.0.0.0 --port 3000 # => urls in entrypoinys.json start with 'http://0.0.0.0:3000/'
Is this a bug or have i missing something ?
Thanks
The text was updated successfully, but these errors were encountered: