Fix proxy specification in mastodon websocket
This commit is contained in:
parent
eb1a7e427a
commit
802eff0b06
|
@ -167,7 +167,7 @@ export default class WebSocket extends EventEmitter implements WebSocketInterfac
|
|||
headers: headers
|
||||
}
|
||||
if (proxyConfig) {
|
||||
options = Object.assign(proxyConfig, {
|
||||
options = Object.assign(options, {
|
||||
agent: proxyAgent(proxyConfig)
|
||||
})
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue