diff --git a/index.js b/index.js deleted file mode 100644 index a682017..0000000 --- a/index.js +++ /dev/null @@ -1,11 +0,0 @@ -async function fetch(request) { - if (request.method === 'OPTIONS') { - const headers = new Headers() - headers.set('Access-Control-Allow-Origin', '*') - headers.set('Access-Control-Allow-Headers', 'Authorization, Content-Type') - return new Response(null, { headers }) - } - return new Response('OK') -} - -export default { fetch }