File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ var url = require('url');
99
1010var 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 ]
You can’t perform that action at this time.
0 commit comments