Skip to content

Commit cc7e61f

Browse files
authored
Merge pull request #103 from erichbehrens/fix-public-path-for-dev-build
Fix publicPath for dev build
2 parents 0e04686 + 19919e5 commit cc7e61f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

webpack.config.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ module.exports = function makeWebpackConfig() {
4545

4646
// Output path from the view of the page
4747
// Uses webpack-dev-server in development
48-
publicPath: isProd ? '/' : 'http://0.0.0.0:8080/',
48+
publicPath: '/',
4949

5050
// Filename for entry points
5151
// Only adds hash in build mode

0 commit comments

Comments
 (0)