1
0

feat: Allow cors
All checks were successful
Remote Deploy / deploy (push) Successful in 6s

This commit is contained in:
2026-01-23 18:13:45 +01:00
parent c34f4ee1d1
commit 1013a3ba15
4 changed files with 37 additions and 1 deletions

View File

@@ -19,7 +19,7 @@ globalThis.File = class File {};
export default async function parseTeachers() {
const url = "https://spsejecna.cz/ucitel";
const response = await fetch(url);
const data = await response.text(); // fetch needs .text() to get HTML
const data = await response.text();
const $ = cheerio.load(data);
const map = {};