index.js: remove useless commented code

This commit is contained in:
Peter Cai 2020-02-17 17:01:59 +08:00
parent 0321c50209
commit 6062f0edd3
No known key found for this signature in database
GPG key ID: 71F5FB4E4F3FD54F

View file

@ -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)