mirror of
https://github.com/KevinMidboe/zoff.git
synced 2025-12-08 20:48:48 +00:00
Moved oauth callback to /api/oauth and embed to /api/embed, with utilizing the search in url
This commit is contained in:
@@ -498,7 +498,7 @@ importPlaylist: function(pId,pageToken){
|
||||
youtube_window.close();
|
||||
window.callback = "";
|
||||
};
|
||||
youtube_window = window.open("/o_callback#youtube=true&nonce=" + nonce, "", "width=600, height=600");
|
||||
youtube_window = window.open("/api/oauth#youtube=true&nonce=" + nonce, "", "width=600, height=600");
|
||||
} else {
|
||||
Helper.log([
|
||||
"import list error: ",
|
||||
@@ -555,7 +555,7 @@ importPlaylist: function(pId,pageToken){
|
||||
youtube_window.close();
|
||||
window.callback = "";
|
||||
};
|
||||
youtube_window = window.open("/o_callback#youtube=true&nonce=" + nonce, "", "width=600, height=600");
|
||||
youtube_window = window.open("/api/oauth#youtube=true&nonce=" + nonce, "", "width=600, height=600");
|
||||
} else {
|
||||
Helper.log([
|
||||
"import list error: ",
|
||||
|
||||
Reference in New Issue
Block a user