mirror of
https://github.com/KevinMidboe/zoff.git
synced 2025-10-29 18:00:23 +00:00
Fixed error with only localhost with spotify inport
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
window.addEventListener("load", function(){
|
||||
console.log("hello");
|
||||
var client_id = "b934ecdd173648f5bcd38738af529d58";
|
||||
var redirect = "http://localhost/spotify_callback";
|
||||
var redirect = window.location.protocol + "//" + window.location.hostname + "/spotify_callback";
|
||||
var response = "token";
|
||||
var scope = "playlist-read-private playlist-read-collaborative user-read-private";
|
||||
if(window.location.hash.length <= 0){
|
||||
|
||||
Reference in New Issue
Block a user