Spaces:
Paused

xinoooo commited on
Commit
febac64
·
verified ·
1 Parent(s): 15a4496

Update public/index.html

Browse files
Files changed (1) hide show
  1. public/index.html +2 -2
public/index.html CHANGED
@@ -57,7 +57,7 @@
57
  </div>
58
 
59
  <script>
60
- const apiUrl = "http://localhost:5000/api/anime";
61
 
62
  async function fetchAnimeList() {
63
  try {
@@ -86,7 +86,7 @@
86
  <a href="list-episode.html?id=${anime.id}" class="anime-link">Check ${Title}</a>
87
  `;
88
  animeItem.insertBefore(imgElement, animeItem.firstChild);
89
- fetch(`http://localhost:5000/api/anime/image/${anime.id}`)
90
  .then(response => response.blob())
91
  .then(imageBlob => {
92
  const imageUrl = URL.createObjectURL(imageBlob);
 
57
  </div>
58
 
59
  <script>
60
+ const apiUrl = "https://xinoooo-sme.hf.space/api/anime";
61
 
62
  async function fetchAnimeList() {
63
  try {
 
86
  <a href="list-episode.html?id=${anime.id}" class="anime-link">Check ${Title}</a>
87
  `;
88
  animeItem.insertBefore(imgElement, animeItem.firstChild);
89
+ fetch(`https://xinoooo-sme.hf.space/api/anime/image/${anime.id}`)
90
  .then(response => response.blob())
91
  .then(imageBlob => {
92
  const imageUrl = URL.createObjectURL(imageBlob);