hosted-kernel/src/index.ts

13 lines
423 B
TypeScript
Raw Normal View History

2023-07-20 19:43:41 +00:00
import { boot } from "./kernel.js";
import { handleIncomingMessage } from "./messages.js";
2023-07-20 19:43:41 +00:00
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);
2023-07-20 19:43:41 +00:00
boot();