Skip to content

Commit

Permalink
Update SpotifyScript.js
Browse files Browse the repository at this point in the history
  • Loading branch information
HYDRO2070 authored Jan 30, 2024
1 parent debce3d commit 3cefd59
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions js/SpotifyScript.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ function SectoMin(sec){
return `${formatemin}:${formatesec}`;
}
async function getSongs(folder){
let songs = await fetch(`http://127.0.0.1:5500/${currFolder}/`);
let songs = await fetch(`${currFolder}/`);
let a = await songs.text();
let div = document.createElement("div");
div.innerHTML = a;
Expand Down Expand Up @@ -59,7 +59,7 @@ async function getSongs(folder){
}

async function getcarddetail(){
let request = await fetch("http://127.0.0.1:5500/Songs/");
let request = await fetch("Songs/");
let response = await request.text();
let div = document.createElement("div");
div.innerHTML = response;
Expand Down Expand Up @@ -175,4 +175,4 @@ async function main(){
}
})
}
main()
main()

0 comments on commit 3cefd59

Please sign in to comment.