Skip to content

Commit

Permalink
Fix broken exam list due to corsproxy API changes
Browse files Browse the repository at this point in the history
  • Loading branch information
yutotakano authored Dec 13, 2024
1 parent 3e664ff commit f121b16
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion _includes/exams.html
Original file line number Diff line number Diff line change
Expand Up @@ -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))
Expand Down

0 comments on commit f121b16

Please sign in to comment.