fix(core): update
This commit is contained in:
@ -3,6 +3,6 @@
|
||||
*/
|
||||
export const commitinfo = {
|
||||
name: '@pushrocks/smartproxy',
|
||||
version: '3.0.35',
|
||||
version: '3.0.36',
|
||||
description: 'a proxy for handling high workloads of proxying'
|
||||
}
|
||||
|
@ -186,7 +186,10 @@ JNj2Dr5H0XoLFFnvuvzcRbhlJ9J67JzR+7g=
|
||||
destinationUrl,
|
||||
{
|
||||
method: originRequest.method,
|
||||
headers: originRequest.headers,
|
||||
headers: {
|
||||
...originRequest.headers,
|
||||
'X-Forwarded-Proto': 'https'
|
||||
},
|
||||
keepAlive: true,
|
||||
},
|
||||
true, // lets make this streaming
|
||||
@ -309,7 +312,7 @@ JNj2Dr5H0XoLFFnvuvzcRbhlJ9J67JzR+7g=
|
||||
|
||||
this.httpsServer.listen(this.options.port);
|
||||
console.log(
|
||||
`ProxyWorker -> OK: now listening for new connections on port ${this.options.port}`
|
||||
`NetworkProxy -> OK: now listening for new connections on port ${this.options.port}`
|
||||
);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user