Something went wrong. Try again.
goes to a random website hosted on wisp.place forked from ptr.pet/random.wisp.place
Something went wrong. Try again.
random.wisp.place build.ts
268 B · 5 lines
TypeScript
at main
123456const html = await Deno.readTextFile("index.html");const url = Deno.env.get("API_URL") ?? "/";await Deno.remove("dist", { recursive: true }).catch(() => {});await Deno.mkdir("dist");await Deno.writeTextFile("dist/index.html", html.replaceAll("__API_URL__", url));