proxy issues no longer crash the server
This commit is contained in:
@ -21,6 +21,9 @@ function proxyRequest (route) {
|
||||
changeOrigin: true,
|
||||
secure: false
|
||||
})
|
||||
proxy.on('error', err => {
|
||||
// not worth crashing for
|
||||
})
|
||||
|
||||
return function proxyMiddleware () {
|
||||
const keys = []
|
||||
|
Reference in New Issue
Block a user