aboutsummaryrefslogtreecommitdiff
path: root/src/routes/hololive
diff options
context:
space:
mode:
authorFuwn <[email protected]>2024-02-07 04:09:43 -0800
committerFuwn <[email protected]>2024-02-07 04:09:43 -0800
commitd43edc045bbc0548e5fc31105fc4c362dc287dde (patch)
treee031a6dc3e7c9798aa234171e84ceb18391f0ea8 /src/routes/hololive
parentfix(hololive): call reload directly (diff)
downloaddue.moe-d43edc045bbc0548e5fc31105fc4c362dc287dde.tar.xz
due.moe-d43edc045bbc0548e5fc31105fc4c362dc287dde.zip
fix(hololive): proxy schedule
Diffstat (limited to 'src/routes/hololive')
-rw-r--r--src/routes/hololive/+page.svelte3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/routes/hololive/+page.svelte b/src/routes/hololive/+page.svelte
index 18f94a4a..2635c01e 100644
--- a/src/routes/hololive/+page.svelte
+++ b/src/routes/hololive/+page.svelte
@@ -4,6 +4,7 @@
import Skeleton from '$lib/Loading/Skeleton.svelte';
import HeadTitle from '$lib/Home/HeadTitle.svelte';
import { parseScheduleHtml } from '$lib/hololive';
+ import proxy from '$lib/Utility/proxy';
interface ParseResult {
lives: {
@@ -21,7 +22,7 @@
let schedulePromise: Promise<Response>;
onMount(async () => {
- schedulePromise = fetch('https://schedule.hololive.tv', {
+ schedulePromise = fetch(proxy('https://schedule.hololive.tv'), {
headers: {
Cookie: 'timezone=Asia/Tokyo'
}