Rollback disableDotRule
This commit is contained in:
parent
7ffb7e6795
commit
70c48a076d
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user