Skip to content

Commit

Permalink
fix: 修复publicPath
Browse files Browse the repository at this point in the history
  • Loading branch information
senwii committed Dec 31, 2019
1 parent 6fa60c8 commit 523ef58
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -51,11 +51,7 @@ module.exports = {
contentBase: `${appDirName}/dist`,
// host: '172.23.62.60',
compress: true,
historyApiFallback: {
rewrites: [
{ from: /./, to: '/404.html' },
],
},
historyApiFallback: true,
},
output: {
path: `${appDirName}/dist`,
Expand Down

0 comments on commit 523ef58

Please sign in to comment.