Skip to content

Commit

Permalink
reverse commits and find root cause later
Browse files Browse the repository at this point in the history
  • Loading branch information
netptop committed Mar 15, 2020
1 parent 494b124 commit 8b53120
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions Proxy.js
Original file line number Diff line number Diff line change
Expand Up @@ -310,14 +310,6 @@ let Proxy = ({urlModify, httpprefix, serverName, port, cookieDomainRewrite, loca
});
res.statusCode = proxyRes.statusCode
logSave(`res.status:${res.statusCode} res.url:${res.url}, res.headers:${JSON.stringify(res.getHeaders())}`)
if (res.statusCode >= 400) {
try {
res.status(res.statusCode).send("")
} catch(e) {
logSave(`error: ${e}`)
}
return
}
},
onProxyReq: (proxyReq, req, res) => {
let myRe = new RegExp(`/${httpprefix}/${serverName}.*?/`, 'g') // match group
Expand Down

0 comments on commit 8b53120

Please sign in to comment.