mirror of
https://github.com/DoctorMcKay/node-steamcommunity.git
synced 2026-08-19 05:03:28 +08:00
Pass httpProxy down to steam-session
This commit is contained in:
4
index.js
4
index.js
@@ -81,7 +81,9 @@ SteamCommunity.prototype.login = function(details) {
|
||||
// eslint-disable-next-line no-async-promise-executor
|
||||
return new Promise(async (resolve, reject) => {
|
||||
let platformType = details.authTokenPlatformType || EAuthTokenPlatformType.MobileApp;
|
||||
let session = new LoginSession(platformType);
|
||||
let session = new LoginSession(platformType, {
|
||||
httpProxy: this._options.httpProxy
|
||||
});
|
||||
|
||||
session.on('authenticated', async () => {
|
||||
try {
|
||||
|
||||
Reference in New Issue
Block a user