Initial commit

This commit is contained in:
2025-09-28 08:50:15 -07:00
committed by GitHub
commit f4d22df46b
7 changed files with 177 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 }