Skip to content

Commit

Permalink
site: use relative urls
Browse files Browse the repository at this point in the history
  • Loading branch information
tombl committed Feb 9, 2024
1 parent 79920b0 commit b41b0ba
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tools/wasm/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -64,11 +64,11 @@
termFit.fit();
window.onresize = () => termFit.fit();

const { path = "/vmlinux.wasm", cmdline = "" } = Object.fromEntries(
const { path = "vmlinux.wasm", cmdline = "" } = Object.fromEntries(
new URLSearchParams(location.search)
);

const worker = new Worker("/worker.js", { type: "module" });
const worker = new Worker("worker.js", { type: "module" });
worker.onmessage = (event) => {
switch (event.data.action) {
case "print":
Expand Down

0 comments on commit b41b0ba

Please sign in to comment.