mirror of
https://github.com/Kvan7/Exiled-Exchange-2.git
synced 2026-09-29 16:15:52 +00:00
add host name to log msg
This commit is contained in:
+1
-1
@@ -47,7 +47,7 @@ export class HttpProxy {
|
||||
proxyRes.pipe(res)
|
||||
})
|
||||
proxyReq.addListener('error', (err) => {
|
||||
logger.write(`error [cors-proxy] ${err.message}`)
|
||||
logger.write(`error [cors-proxy] ${err.message} (${host})`)
|
||||
res.destroy(err)
|
||||
})
|
||||
req.pipe(proxyReq)
|
||||
|
||||
Reference in New Issue
Block a user