From f9aa2325c178b55f3f1e2019c0fbe71c752be43f Mon Sep 17 00:00:00 2001 From: Emil Lerch Date: Fri, 20 Oct 2023 14:38:19 -0700 Subject: [PATCH] simplify sample index.js --- index.js | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/index.js b/index.js index bf63db2..ad90552 100644 --- a/index.js +++ b/index.js @@ -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 -};