Skip to content

Commit 4bc1e19

Browse files
committed
Using real public path, though it doesn't look like it matters
1 parent 92e22af commit 4bc1e19

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

lib/config-generator.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -381,7 +381,8 @@ class ConfigGenerator {
381381

382382
return {
383383
contentBase: contentBase,
384-
publicPath: this.webpackConfig.publicPath,
384+
// this doesn't appear to be necessary, but here in case
385+
publicPath: this.webpackConfig.getRealPublicPath(),
385386
// avoid CORS concerns trying to load things like fonts from the dev server
386387
headers: { 'Access-Control-Allow-Origin': '*' },
387388
hot: this.webpackConfig.useHotModuleReplacementPlugin(),

0 commit comments

Comments
 (0)