Rollback disableDotRule

This commit is contained in:
Maxim Filippov 2018-12-13 19:53:14 +03:00
parent 7ffb7e6795
commit 70c48a076d

View File

@ -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)