Skip to content

Commit

Permalink
Change login url
Browse files Browse the repository at this point in the history
  • Loading branch information
JanHalozan committed Feb 16, 2017
1 parent 054d6ab commit c0978fc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/analytics.js
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ Itunes.prototype.login = function(username, password) {
self.options.errorCallback(error);
} else {
request.get({
url: self.options.baseURL + "/WebObjects/iTunesConnect.woa",
url: 'https://olympus.itunes.apple.com/v1/session', //self.options.baseURL + "/WebObjects/iTunesConnect.woa",
followRedirect: false, //We can't follow redirects, otherwise we will "miss" the itCtx cookie
headers: {
'Cookie': myAccount[0]
Expand Down

0 comments on commit c0978fc

Please sign in to comment.