Initial commit

This commit is contained in:
2025-12-03 14:19:09 -08:00
committed by GitHub
commit 53db430826
6 changed files with 120 additions and 0 deletions

11
index.js Normal file
View File

@@ -0,0 +1,11 @@
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 }