Update public/index.html
Browse files- public/index.html +2 -2
public/index.html
CHANGED
|
@@ -57,7 +57,7 @@
|
|
| 57 |
</div>
|
| 58 |
|
| 59 |
<script>
|
| 60 |
-
const apiUrl = "
|
| 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(`
|
| 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);
|