-
-
Notifications
You must be signed in to change notification settings - Fork 6.3k
Closed
Labels
bugintend to implementThe team has the intention to implement this feature at some point. Contribution is also welcome.The team has the intention to implement this feature at some point. Contribution is also welcome.
Description
What problem does this feature solve?
vue.config.js
module.exports = {
devServer: {
port: 5200,
host: '0.0.0.0',
},
}
terminal print:
App running at:
- Local: http://localhost:5200/
Shouldn't it be displayed like this?
App running at:
- Local: http://0.0.0.0:5200/
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:
//prettyHost = 'localhost'
prettyHost = host
kujiy
Metadata
Metadata
Assignees
Labels
bugintend to implementThe team has the intention to implement this feature at some point. Contribution is also welcome.The team has the intention to implement this feature at some point. Contribution is also welcome.