From f121b16ee182e9e10cea3071552d6ff41ba4e57e Mon Sep 17 00:00:00 2001 From: Yuto Takano Date: Fri, 13 Dec 2024 11:54:01 +0100 Subject: [PATCH] Fix broken exam list due to corsproxy API changes --- _includes/exams.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/_includes/exams.html b/_includes/exams.html index 2f444a0..ffc1592 100644 --- a/_includes/exams.html +++ b/_includes/exams.html @@ -165,7 +165,7 @@ } window.addEventListener('load', () => { - fetch('https://corsproxy.io/?' + encodeURIComponent('https://exams.is.ed.ac.uk/search/')) + fetch('https://corsproxy.io/?url=' + encodeURIComponent('https://exams.is.ed.ac.uk/search/')) .then(r => r.json()) .then(r => success(r)) .catch(e => fail(e))