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
1 changed files with 1 additions and 15 deletions

View File

@ -1,17 +1,3 @@
import main from "./src/index.coffee" import main from "./src/index.coffee"
main.apply(this) 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' },
})
}*/