Skip to content

Commit ad07008

Browse files
committed
read proxy from options
1 parent 8db9327 commit ad07008

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

src/node-binance-api.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -228,6 +228,7 @@ export default class Binance {
228228
if (this.Options.demo) this.demo = true;
229229
if (this.Options.headers) this.headers = this.Options.Headers;
230230
if (this.Options.domain) this.domain = this.Options.domain;
231+
if (this.Options.httpsProxy) this.httpsProxy = this.Options.httpsProxy;
231232
}
232233

233234
async setOptions(opt = {}): Promise<Binance> {

0 commit comments

Comments
 (0)