simplify sample index.js
This commit is contained in:
parent
fd37671cf6
commit
f9aa2325c1
5
index.js
5
index.js
|
@ -1,5 +1,5 @@
|
||||||
import demoWasm from "demo.wasm";
|
import demoWasm from "demo.wasm";
|
||||||
var src_default = {
|
export default {
|
||||||
async fetch(request, _env2, ctx) {
|
async fetch(request, _env2, ctx) {
|
||||||
const stdout = new TransformStream();
|
const stdout = new TransformStream();
|
||||||
console.log(request);
|
console.log(request);
|
||||||
|
@ -29,6 +29,3 @@ var src_default = {
|
||||||
return new Response(stdout.readable);
|
return new Response(stdout.readable);
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
export {
|
|
||||||
src_default as default
|
|
||||||
};
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user