From 38643dfb69d707553034b607b91aae089853afe5 Mon Sep 17 00:00:00 2001 From: Gaspard Jankowiak Date: Wed, 2 Oct 2024 14:59:50 +0200 Subject: [PATCH] remove hardcoded host from main js script --- directory.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/directory.js b/directory.js index 2cc6cd4..1c9b04b 100644 --- a/directory.js +++ b/directory.js @@ -55,7 +55,7 @@ function extractIDs(url) { } function generateCard(student, col) { - const url = `https://online.uni-graz.at/kfu_online/pl/ui/$ctx/wbstudkart.wbShowImage?pOrgNr=${student.ids.org}&pStPersonNr=${student.ids.perso}&pType=U` + const url = `/kfu_online/pl/ui/$ctx/wbstudkart.wbShowImage?pOrgNr=${student.ids.org}&pStPersonNr=${student.ids.perso}&pType=U` const d = document.createElement("div"); d.style.gridColumn = "auto";