File tree 2 files changed +3
-1
lines changed
2 files changed +3
-1
lines changed Original file line number Diff line number Diff line change 46
46
"babel-runtime" : " 6.11.6" ,
47
47
"case-sensitive-paths-webpack-plugin" : " 1.1.3" ,
48
48
"chalk" : " 1.1.3" ,
49
- "connect-history-api-fallback" : " 1.2 .0" ,
49
+ "connect-history-api-fallback" : " 1.3 .0" ,
50
50
"cross-spawn" : " 4.0.0" ,
51
51
"css-loader" : " 0.23.1" ,
52
52
"detect-port" : " 1.0.0" ,
Original file line number Diff line number Diff line change @@ -173,6 +173,8 @@ function addMiddleware(devServer) {
173
173
// Every unrecognized request will be forwarded to it.
174
174
var proxy = require ( paths . appPackageJson ) . proxy ;
175
175
devServer . use ( historyApiFallback ( {
176
+ // Allow paths with dots in them to be loaded, reference issue #387
177
+ disableDotRule : true ,
176
178
// For single page apps, we generally want to fallback to /index.html.
177
179
// However we also want to respect `proxy` for API calls.
178
180
// So if `proxy` is specified, we need to decide which fallback to use.
You can’t perform that action at this time.
0 commit comments