From d113d662656c8cc662ff544dd50df828ccce66fa Mon Sep 17 00:00:00 2001
From: Fuwn <contact@fuwn.me>
Date: Thu, 14 Sep 2023 17:36:55 -0700
Subject: refactor(updates): move api routes

---
 src/routes/updates/+page.svelte | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

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

diff --git a/src/routes/updates/+page.svelte b/src/routes/updates/+page.svelte
index 26bc1fd0..181f1745 100644
--- a/src/routes/updates/+page.svelte
+++ b/src/routes/updates/+page.svelte
@@ -15,10 +15,10 @@
 
 	onMount(async () => {
 		startTime = performance.now();
-		novelFeed = await (await fetch('/api/novel-updates')).json();
+		novelFeed = await (await fetch('/api/updates/novels')).json();
 		novelEndTime = performance.now() - startTime;
 		startTime = performance.now();
-		feed = await (await fetch('/api/manga-updates')).json();
+		feed = await (await fetch('/api/updates/manga')).json();
 		mangaEndTime = performance.now() - startTime;
 	});
 
-- 
cgit v1.2.3

