Authored by 郭成尧

'dev-http'

@@ -183,7 +183,7 @@ gulp.task('webpack-dev-server', () => { @@ -183,7 +183,7 @@ gulp.task('webpack-dev-server', () => {
183 183
184 new WebpackDevServer(webpack(devConfig), { 184 new WebpackDevServer(webpack(devConfig), {
185 contentBase: '.', 185 contentBase: '.',
186 - publicPath: '//localhost:5001/', 186 + publicPath: 'http://localhost:5001/',
187 hot: true, 187 hot: true,
188 stats: { 188 stats: {
189 colors: true 189 colors: true