Skip to content

Commit

Permalink
log proxyUrl
Browse files Browse the repository at this point in the history
  • Loading branch information
zzarcon committed Apr 17, 2019
1 parent e97fc5b commit 0c7759f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/strategies/api.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ export class RestApi implements Strategy {
const device = new Client.Device(userName);
const {cookiePath, proxyUrl} = this.options;
const fullCookiePath = `${cookiePath}/${userName}.json`
console.log('login: exist cookie', {fullCookiePath}, existsSync(fullCookiePath))
console.log('login: ', {fullCookiePath, proxyUrl}, existsSync(fullCookiePath))
const storage = new Client.CookieFileStorage(fullCookiePath);
try {
const session: Object = await Client.Session.create(device, storage, userName, password, proxyUrl)
Expand Down

0 comments on commit 0c7759f

Please sign in to comment.