diff --git a/js/script.js b/js/script.js index 5514039..f4e6b23 100644 --- a/js/script.js +++ b/js/script.js @@ -96,7 +96,7 @@ function Page() { $historicDiv[n].classList.add('animated'); $historicDiv[n].classList.add('slideInRight'); } - xhttp.open('GET', 'https://api.streamafrica.net/search.php?query=' + info.artist + ' ' + info.song + '&service=' + API_SERVICE.toLowerCase()); + xhttp.open('GET', 'https://api.streamafrica.net/new.search.php?query=' + info.artist + ' ' + info.song + '&service=' + API_SERVICE.toLowerCase()); xhttp.send(); setTimeout(function () { @@ -175,7 +175,7 @@ function Page() { } } } - xhttp.open('GET', 'https://api.streamafrica.net/search.php?query=' + artist + ' ' + song + '&service=' + API_SERVICE.toLowerCase()); + xhttp.open('GET', 'https://api.streamafrica.net/new.search.php?query=' + artist + ' ' + song + '&service=' + API_SERVICE.toLowerCase()); xhttp.send(); }