1
0
mirror of https://git.pleroma.social/sjw/pleroma-fe.git synced 2024-12-23 13:05:14 +01:00

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)