Skip to content

Commit 667bfee

Browse files
committed
Tweak URL
1 parent 6844461 commit 667bfee

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/analytics.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ var url = require('url');
99

1010
var Itunes = function(username, password, options) {
1111
this.options = {
12-
baseURL: 'https://itunesconnect.apple.com',
12+
baseURL: 'https://appstoreconnect.apple.com/olympus/v1',
1313
loginURL: 'https://idmsa.apple.com/appleauth/auth/signin',
1414
appleWidgetKey: '22d448248055bab0dc197c6271d738c3',
1515
concurrentRequests: 2,
@@ -89,7 +89,7 @@ Itunes.prototype.login = function(username, password) {
8989
self.options.errorCallback(error);
9090
} else {
9191
request.get({
92-
url: 'https://olympus.itunes.apple.com/v1/session', //self.options.baseURL + "/WebObjects/iTunesConnect.woa",
92+
url: 'https://appstoreconnect.apple.com/olympus/v1/session', //self.options.baseURL + "/WebObjects/iTunesConnect.woa",
9393
followRedirect: false, //We can't follow redirects, otherwise we will "miss" the itCtx cookie
9494
headers: {
9595
'Cookie': myAccount[0]

0 commit comments

Comments
 (0)