Skip to content

Commit

Permalink
fix(dev): always proxy http request even ws option is truly
Browse files Browse the repository at this point in the history
  • Loading branch information
underfin committed Oct 29, 2020
1 parent 5e7c309 commit 32be77b
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/node/server/serverPluginProxy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@ export const proxyPlugin: ServerPlugin = ({ app, config, server }) => {
if (typeof opts === 'string') {
opts = { target: opts } as ProxiesOptions
}
if (opts.ws) return
opts.logs = (ctx, target) => {
debug(
`${ctx.req.method} ${(ctx.req as any).oldPath} proxy to -> ${new URL(
Expand Down

0 comments on commit 32be77b

Please sign in to comment.