diff --git a/script.js b/script.js index 2a240d5..5e56d1e 100644 --- a/script.js +++ b/script.js @@ -1,18 +1,5 @@ const apiUrl = "http://localhost:5011"; -function orkodyo(){ - let reply; - const requestOptions = { - method: "GET", - redirect: "follow" - }; - - fetch(apiUrl + "/api/pizze", requestOptions) - .then((response) => response.text()) - .then((result) => alert(result)) - .catch((error) => console.error(error)); -} - function listPizze(){ let reply; const requestOptions = {