Public
HTTP
maxm-tinygohttpexample.web.val.run
May 29, 2024
Val Town is a social website to write and deploy JavaScript.
Build APIs and schedule functions from your browser.
1
2
3
4
import { wasmHandler } from "https://esm.town/v/maxm/tinygoHttp";
const resp = await fetch("https://maxm-wasmblobhost.web.val.run/ihml3eg6qee7q2navnnpjqysogqvzdy7.wasm");
export const handler = await wasmHandler(new Uint8Array(await resp.arrayBuffer()));
v29 was merged from the PR "seems like you're using the wrong wasm blob? th…" by stevekrouse
May 29, 2024