Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
proxy.forEach(args => {
const middleware = Proxy.apply(undefined, args)
middleware.prefix = false // Don't add router base
this.options.serverMiddleware.push(middleware)
})
}
proxy.forEach((args) => {
// https://github.com/chimurai/http-proxy-middleware
const middleware = Proxy.apply(undefined, args)
middleware.prefix = false // Don't add router base
this.addServerMiddleware(middleware)
})
}