Browse Source

index.js: remove useless commented code

master
Peter Cai 3 years ago
parent
commit
6062f0edd3
No known key found for this signature in database
GPG Key ID: 71F5FB4E4F3FD54F
  1. 16
      index.js

16
index.js

@ -1,17 +1,3 @@
import main from "./src/index.coffee"
main.apply(this)
/*addEventListener('fetch', event => {
event.respondWith(handleRequest(event.request))
})*/
/**
* Respond with hello worker text
* @param {Request} request
*/
/*
async function handleRequest(request) {
return new Response('Hello worker!', {
headers: { 'content-type': 'text/plain' },
})
}*/
main.apply(this)
Loading…
Cancel
Save