diff --git a/build/dev-server.js b/build/dev-server.js index c43c0b2451acea30f5209fe8dfcc705c4f3c8fc4..9c3d4e00e3f3084e8e201a8f4859330339e48a18 100644 --- a/build/dev-server.js +++ b/build/dev-server.js @@ -46,12 +46,7 @@ Object.keys(proxyTable).forEach(function (context) { }) // handle fallback for HTML5 history API -app.use(require('connect-history-api-fallback')({ - disableDotRule: true, - rewrites: [ - {from: /\/app.js/, to: '/app.js'} - ] -})) +app.use(require('connect-history-api-fallback')()) // serve webpack bundle output app.use(devMiddleware)