Skip to content

Commit 4731a34

Browse files
committed
fix history fallback for windows.
1 parent e7005e1 commit 4731a34

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

template/build/webpack.dev.conf.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ const devWebpackConfig = merge(baseWebpackConfig, {
2525
clientLogLevel: 'warning',
2626
historyApiFallback: {
2727
rewrites: [
28-
{ from: /.*/, to: path.join(config.dev.assetsPublicPath, 'index.html') },
28+
{ from: /.*/, to: path.posix.join(config.dev.assetsPublicPath, 'index.html') },
2929
],
3030
},
3131
hot: true,

0 commit comments

Comments
 (0)