fix exporting html

This commit is contained in:
Reimar 2025-10-10 12:41:17 +02:00
parent a197d21e67
commit e8881b4a50

View File

@ -84,7 +84,7 @@ saveHtmlButton.onclick = async (ev) => {
const js = editor.getValue()
.split("\n")
.map((line) => " ".repeat(12) + line).join("\n");
let lib = await (await fetch("./lib.js")).text();
let lib = await (await fetch("./js/lib.js")).text();
lib = minifyJs(lib);
const html = `