simplify sample index.js
This commit is contained in:
		
							parent
							
								
									fd37671cf6
								
							
						
					
					
						commit
						f9aa2325c1
					
				
					 1 changed files with 1 additions and 4 deletions
				
			
		
							
								
								
									
										5
									
								
								index.js
									
										
									
									
									
								
							
							
						
						
									
										5
									
								
								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 | ||||
| }; | ||||
|  |  | |||
		Loading…
	
	Add table
		
		Reference in a new issue