diff --git a/src/routes/dokumenter/+page.svelte b/src/routes/dokumenter/+page.svelte index 7f3071c8..3efc4f15 100644 --- a/src/routes/dokumenter/+page.svelte +++ b/src/routes/dokumenter/+page.svelte @@ -146,6 +146,9 @@ let url; getDocument(id).then(respUrl => { + // since this is very broken and doesn't work, use the old method HIGH PRIORITY FIX + // seems to me the problem is that the current `getDocument` requires the format of the downloaded file to be known beforehand (which is not REALLY plausible, although can technically be done idk) + throw new Error('Not implemented yet'); url = respUrl; }).catch(() => { url = `https://www.lectio.dk/lectio/${cookie.schoolId}/dokumenthent.aspx?documentid=${id}`;