Skip to content

Commit

Permalink
fix historyFallback rewrite for Windows systems
Browse files Browse the repository at this point in the history
  • Loading branch information
LinusBorg committed Jan 4, 2018
1 parent 8f0ef7a commit 42cd10c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion template/build/webpack.dev.conf.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ const devWebpackConfig = merge(baseWebpackConfig, {
clientLogLevel: 'warning',
historyApiFallback: {
rewrites: [
{ from: /.*/, to: path.join(config.dev.assetsPublicPath, 'index.html') },
{ from: /.*/, to: path.posix.join(config.dev.assetsPublicPath, 'index.html') },
],
},
hot: true,
Expand Down

0 comments on commit 42cd10c

Please sign in to comment.