Skip to content
Snippets Groups Projects
Commit 3d968e31 authored by Maxim Filippov's avatar Maxim Filippov :new_moon_with_face:
Browse files

Disable dot rule

parent c1dc69a0
No related branches found
No related tags found
No related merge requests found
......@@ -46,7 +46,12 @@ Object.keys(proxyTable).forEach(function (context) {
})
// handle fallback for HTML5 history API
app.use(require('connect-history-api-fallback')())
app.use(require('connect-history-api-fallback')({
disableDotRule: true,
rewrites: [
{from: /\/app.js/, to: '/app.js'}
]
}))
// serve webpack bundle output
app.use(devMiddleware)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment