Why is the default value of HOST is prettyHost(localhost) instead of 0.0.0.0? #3747
Labels
bug
intend to implement
The team has the intention to implement this feature at some point. Contribution is also welcome.
What problem does this feature solve?
vue.config.js
terminal print:
Shouldn't it be displayed like this?
In docker, 'localhost' means that it cannot expose the service to the host unless '0.0.0.0' is used.
In other words, when host is '0.0.0.0', the terminal print 'localhost' is incorrect. May the terminal print '0.0.0.0' would be better?
What does the proposed API look like?
packages/@vue/cli-service/lib/util/prepareURLs.js
at line 33:
The text was updated successfully, but these errors were encountered: