Initial commit

This commit is contained in:
2025-09-11 13:50:04 -07:00
committed by GitHub
commit 6bab4ec241
6 changed files with 265 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 }