We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5a18284 commit 70b4baaCopy full SHA for 70b4baa
packages/vite/src/node/server/middlewares/proxy.ts
@@ -71,7 +71,7 @@ export function proxyMiddleware(
71
}
72
})
73
74
- if (opts.configure) {
+ if (opts && opts.configure) {
75
opts.configure(proxy, opts)
76
77
// clone before saving because http-proxy mutates the options
0 commit comments