From f8ca0633fc7089e657860241bd9672269e22420a Mon Sep 17 00:00:00 2001 From: Joey <43940776+adoboligh1@users.noreply.github.com> Date: Mon, 8 May 2023 21:29:19 +0000 Subject: [PATCH] Update script.js --- js/script.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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(); }