From c8e9124e21ca32279e6bfdec6d0cfa4f0d843366 Mon Sep 17 00:00:00 2001 From: susheel009 <143828325+susheel009@users.noreply.github.com> Date: Fri, 24 May 2024 21:33:35 -0400 Subject: [PATCH] Updated the Image Generator Catboys API image generator is not working so I replaced it with a similar image generator --- projects/amine-pics-generator/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/projects/amine-pics-generator/index.js b/projects/amine-pics-generator/index.js index ab0dfe5..104ffc0 100644 --- a/projects/amine-pics-generator/index.js +++ b/projects/amine-pics-generator/index.js @@ -9,7 +9,7 @@ btnEl.addEventListener("click", async function () { btnEl.innerText = "Loading..."; amineNameEl.innerText = "Updating..."; animeImgEl.src = "spinner.svg"; - const response = await fetch("https://api.catboys.com/img"); + const response = await fetch("https://nekos.life/api/v2/img/neko"); const data = await response.json(); btnEl.disabled = false; btnEl.innerText = "Get Anime";