Skip to content
Snippets Groups Projects
Commit 4e130375 authored by HJ's avatar HJ :fire:
Browse files

fix http-proxy-middleware

parent 74fe330e
No related branches found
No related tags found
1 merge request!2040Fixes roundup 4
......@@ -53,7 +53,8 @@ Object.keys(proxyTable).forEach(function (context) {
if (typeof options === 'string') {
options = { target: options }
}
app.use(proxyMiddleware.createProxyMiddleware(context, options))
options.pathFilter = context
app.use(proxyMiddleware.createProxyMiddleware(options))
})
// handle fallback for HTML5 history API
......
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