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:
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