Invalid URL when initiating AssemblyScript generated WASM
I'm writing code in AssemblyScript and compiling it to WASM. AssemblyScript also generates JS bindings that work great in Node, but I'm having trouble getting them working in Cloudflare Workers.
In the generated JS bindings, there is code like this this initiates the WebAssembly runtime: