remove hardcoded host from main js script

This commit is contained in:
Gaspard Jankowiak 2024-10-02 14:59:50 +02:00
parent 5c55b6f921
commit 38643dfb69

View file

@ -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";