diff options
| author | Fuwn <[email protected]> | 2024-01-31 02:26:47 -0800 |
|---|---|---|
| committer | Fuwn <[email protected]> | 2024-01-31 02:26:47 -0800 |
| commit | 8794386746bd34494dc29d677a2acb55e907af88 (patch) | |
| tree | f40cf03b5680f3eb67854d2e5a10de1cd7d8783a /src/lib/List | |
| parent | fix(routes): load lists after identity loaded (diff) | |
| download | due.moe-8794386746bd34494dc29d677a2acb55e907af88.tar.xz due.moe-8794386746bd34494dc29d677a2acb55e907af88.zip | |
refactor(manga): use healthcheck endpoint
Diffstat (limited to 'src/lib/List')
| -rw-r--r-- | src/lib/List/Manga/CleanMangaList.svelte | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/lib/List/Manga/CleanMangaList.svelte b/src/lib/List/Manga/CleanMangaList.svelte index 2cd95c04..8c0b8127 100644 --- a/src/lib/List/Manga/CleanMangaList.svelte +++ b/src/lib/List/Manga/CleanMangaList.svelte @@ -14,7 +14,6 @@ type HoverCoverResponse } from '$lib/Media/Cover/hoverCover'; import { onMount } from 'svelte'; - import proxy from '$lib/Utility/proxy'; import root from '$lib/Utility/root'; import locale from '$stores/locale'; import Skeleton from '$lib/Loading/Skeleton.svelte'; @@ -38,7 +37,7 @@ let serviceStatusResponse: Promise<Response>; onMount(() => { - serviceStatusResponse = fetch(proxy('https://mangadex.org')); + serviceStatusResponse = fetch('https://api.mangadex.org/ping'); if (browser) localStorage.setItem(`last${due ? '' : 'Completed'}MangaListLength`, media.length.toString()); |