diff --git a/frontend/script.js b/frontend/script.js index b546e09..f319617 100644 --- a/frontend/script.js +++ b/frontend/script.js @@ -11,8 +11,8 @@ var file = { var year = (new Date()).getMonth() + 1 >= 8 ? (new Date()).getFullYear() : (new Date()).getFullYear() - 1; // Academic year (from august display next ac. year) var fakeHtml = document.implementation.createHTMLDocument('virtual'); // https://stackoverflow.com/a/50194774/7361496 -const dataUrl = "/data"; -const subjectUrl = "/subjectData"; +const dataUrl = "data"; +const subjectUrl = "subjectData"; ///////////////////////////////////// Main ///////////////////////////////////// $(document).ready(async function () { @@ -1412,4 +1412,4 @@ function getSemesterWeekFromDate(date) { console.warn("Date " + date + " is not in any semester week, so will be ignored"); return -1; } -} // checked \ No newline at end of file +} // checked