From b681968f327f5d8cc75d5724a30c6ae07cbf3c68 Mon Sep 17 00:00:00 2001 From: Wongspatt Pasadhika <94737324+uno-p-5@users.noreply.github.com> Date: Sun, 17 Nov 2024 16:16:59 -0800 Subject: [PATCH] Update api url Old domain expired and I'm broke --- lib/utils/query-db.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/utils/query-db.ts b/lib/utils/query-db.ts index 851058a..9048c77 100644 --- a/lib/utils/query-db.ts +++ b/lib/utils/query-db.ts @@ -28,7 +28,7 @@ export async function queryDatabase( const universityUri = encodeURIComponent(universityParam); const geUri = encodeURIComponent(geParam); - const url = `https://ge-z.info/api/cvc-courses?institution=${universityUri}&ge=${geUri}`; + const url = `https://i-did-ur.mom/api/cvc-courses?institution=${universityUri}&ge=${geUri}`; try { const response = await fetch(url);