mirror of
https://github.com/lidarr/lidarr.git
synced 2025-08-14 18:57:39 -07:00
Fixed: Twitter oAuth callback URL (#25)
Fixed: Twitter oAuth callback URL
This commit is contained in:
parent
f1eb8a7d8d
commit
f4006515a5
1 changed files with 2 additions and 1 deletions
|
@ -91,8 +91,9 @@ var view = Marionette.ItemView.extend({
|
|||
this.ui.indicator.show();
|
||||
|
||||
var self = this;
|
||||
var callbackUrl = window.location.origin + window.NzbDrone.UrlBase + '/oauth.html';
|
||||
|
||||
var promise = this.model.requestAction('startOAuth', { callbackUrl: window.location.origin + '/oauth.html' })
|
||||
var promise = this.model.requestAction('startOAuth', { callbackUrl: callbackUrl })
|
||||
.then(function(response) {
|
||||
return self._showOAuthWindow(response.oauthUrl);
|
||||
})
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue