simplify sample index.js

This commit is contained in:
Emil Lerch 2023-10-20 14:38:19 -07:00
parent fd37671cf6
commit f9aa2325c1
Signed by: lobo
GPG Key ID: A7B62D657EF764F8

View File

@ -1,5 +1,5 @@
import demoWasm from "demo.wasm";
var src_default = {
export default {
async fetch(request, _env2, ctx) {
const stdout = new TransformStream();
console.log(request);
@ -29,6 +29,3 @@ var src_default = {
return new Response(stdout.readable);
}
};
export {
src_default as default
};