Skip to content

Commit

Permalink
Update category.js
Browse files Browse the repository at this point in the history
  • Loading branch information
KiriXen authored Feb 3, 2024
1 parent 4567b61 commit 020ec8e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions js/category.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
const url = window.location.pathname.replace("/", "");
// const url = "naruto"
const apiURl = `https://api-indianime.herokuapp.com`;
const apiURl = `https://kitsunime-api.onrender.com`;

function loadAnimeDetails() {
apiUrlAnimeDetails = `${apiURl}/getAnime/${url}`
Expand Down Expand Up @@ -69,7 +69,7 @@ loadAnimeDetails()

function loadRecentRelease() {
async function loadRecent() {
const apiUrlRecentReleases = `${apiURl}/getRecent/1`;
const apiUrlRecentReleases = `${apiURl}/getRecentlyAdded/1`;
const response = await fetch(apiUrlRecentReleases);
const recentReleases = await response.json();
//console.log(recentReleases);
Expand Down Expand Up @@ -124,4 +124,4 @@ function loadDisqus(){
`

}
loadDisqus()
loadDisqus()

0 comments on commit 020ec8e

Please sign in to comment.