From d43edc045bbc0548e5fc31105fc4c362dc287dde Mon Sep 17 00:00:00 2001
From: Fuwn <contact@fuwn.me>
Date: Wed, 7 Feb 2024 04:09:43 -0800
Subject: fix(hololive): proxy schedule

---
 src/routes/hololive/+page.svelte | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

(limited to 'src/routes/hololive/+page.svelte')

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'
 			}
-- 
cgit v1.2.3

