hosted-kernel/src/index.ts

13 lines
423 B
TypeScript

import { boot } from "./kernel.js";
import { handleIncomingMessage } from "./messages.js";
document.title = "Hosted Lume Kernel";
let header = document.createElement("h1");
header.textContent =
"Something went wrong! You should not be visiting this page, this page should only be accessed via an invisible iframe.";
document.body.appendChild(header);
window.addEventListener("message", handleIncomingMessage);
boot();