We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4275ff0 commit 5fb19deCopy full SHA for 5fb19de
lib/config/parse-runtime.js
@@ -49,7 +49,7 @@ module.exports = function(argv, cwd) {
49
runtimeConfig.useHotModuleReplacement = argv.hot || false;
50
runtimeConfig.devServerKeepPublicPath = argv.keepPublicPath || false;
51
52
- if (typeof argv.public !== 'undefined') {
+ if (typeof argv.public === 'string') {
53
if (argv.public.includes('://')) {
54
runtimeConfig.devServerUrl = argv.public;
55
} else if (runtimeConfig.devServerHttps) {
0 commit comments