Skip to content

Commit

Permalink
fetch data
Browse files Browse the repository at this point in the history
  • Loading branch information
itz-mohit-014 committed Feb 7, 2024
1 parent bc49e59 commit 46f0901
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Spotify Clone/script.js
Original file line number Diff line number Diff line change
Expand Up @@ -359,7 +359,7 @@ function expandMusicPlayer(e) {
let allSongsData = [];

async function getSongs() {
const baseUrl = "../assets/songs/";
const baseUrl = "./assets/songs/";
try {
const res = await fetch(`${baseUrl}`);
const result = await res.text();
Expand Down

0 comments on commit 46f0901

Please sign in to comment.