aboutsummaryrefslogtreecommitdiff
path: root/src/lib/List
diff options
context:
space:
mode:
authorFuwn <[email protected]>2024-01-31 02:26:47 -0800
committerFuwn <[email protected]>2024-01-31 02:26:47 -0800
commit8794386746bd34494dc29d677a2acb55e907af88 (patch)
treef40cf03b5680f3eb67854d2e5a10de1cd7d8783a /src/lib/List
parentfix(routes): load lists after identity loaded (diff)
downloaddue.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.svelte3
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());