Skip to content

Commit

Permalink
Using real public path, though it doesn't look like it matters
Browse files Browse the repository at this point in the history
  • Loading branch information
weaverryan committed Jul 21, 2017
1 parent 92e22af commit 4bc1e19
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/config-generator.js
Original file line number Diff line number Diff line change
Expand Up @@ -381,7 +381,8 @@ class ConfigGenerator {

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

0 comments on commit 4bc1e19

Please sign in to comment.