index.js: remove useless commented code
This commit is contained in:
parent
0321c50209
commit
6062f0edd3
16
index.js
16
index.js
|
@ -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' },
|
|
||||||
})
|
|
||||||
}*/
|
|
Loading…
Reference in New Issue