Skip to content

Commit 099db17

Browse files
F-X64major
authored andcommitted
Add root API history fallback to enable onepage routing in local dev mode
1 parent c88c76d commit 099db17

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

webpack.dev.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ module.exports = merge(common('development'), {
1515
port: PORT,
1616
compress: true,
1717
//inline: true,
18-
historyApiFallback: true,
18+
historyApiFallback: { index: "/", disableDotRule: true },
1919
//overlay: true,
2020
open: true,
2121
headers: {

0 commit comments

Comments
 (0)