Commit 960a9b59b8d4b6d6e7325dd01cfbf9aab826e654
1 parent
709536d5
http-server install
Showing
2 changed files
with
3 additions
and
2 deletions
webintroduce/build/utils.js
webintroduce/config/index.js
| ... | ... | @@ -20,7 +20,7 @@ module.exports = { |
| 20 | 20 | notifyOnErrors: true, |
| 21 | 21 | poll: false, // https://webpack.js.org/configuration/dev-server/#devserver-watchoptions- |
| 22 | 22 | |
| 23 | - | |
| 23 | + | |
| 24 | 24 | /** |
| 25 | 25 | * Source Maps |
| 26 | 26 | */ |
| ... | ... | @@ -43,7 +43,7 @@ module.exports = { |
| 43 | 43 | // Paths |
| 44 | 44 | assetsRoot: path.resolve(__dirname, '../dist'), |
| 45 | 45 | assetsSubDirectory: 'static', |
| 46 | - assetsPublicPath: '/', | |
| 46 | + assetsPublicPath: './', | |
| 47 | 47 | |
| 48 | 48 | /** |
| 49 | 49 | * Source Maps | ... | ... |