diff options
| author | Fuwn <[email protected]> | 2024-01-31 16:05:37 -0800 |
|---|---|---|
| committer | Fuwn <[email protected]> | 2024-01-31 16:05:37 -0800 |
| commit | 2fea0f82993ebe0a94af774b1af60c7bc9dccce8 (patch) | |
| tree | b900f428e436725fa910927c7cb255c266e15853 /src/lib | |
| parent | feat(locale): localise birthdays (diff) | |
| download | due.moe-2fea0f82993ebe0a94af774b1af60c7bc9dccce8.tar.xz due.moe-2fea0f82993ebe0a94af774b1af60c7bc9dccce8.zip | |
fix(manga): proxy ping
Diffstat (limited to 'src/lib')
| -rw-r--r-- | src/lib/List/Manga/CleanMangaList.svelte | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/lib/List/Manga/CleanMangaList.svelte b/src/lib/List/Manga/CleanMangaList.svelte index ebfba340..7384011d 100644 --- a/src/lib/List/Manga/CleanMangaList.svelte +++ b/src/lib/List/Manga/CleanMangaList.svelte @@ -18,6 +18,7 @@ import locale from '$stores/locale'; import Skeleton from '$lib/Loading/Skeleton.svelte'; import { browser } from '$app/environment'; + import proxy from '$lib/Utility/proxy'; export let media: Media[]; export let cleanCache: () => void; @@ -37,7 +38,7 @@ let serviceStatusResponse: Promise<Response>; onMount(() => { - serviceStatusResponse = fetch('https://api.mangadex.org/ping'); + serviceStatusResponse = fetch(proxy('https://api.mangadex.org/ping')); if (browser) localStorage.setItem(`last${due ? '' : 'Completed'}MangaListLength`, media.length.toString()); |