()
| 112 | |
| 113 | // Handle CORS preflight |
| 114 | export const onRequestOptions: PagesFunction<Env> = async () => { |
| 115 | return new Response(null, { status: 204, headers: CORS_HEADERS }) |
| 116 | } |
| 117 | |
| 118 | // Main handler: receive events and push to HF |
| 119 | export const onRequestPost: PagesFunction<Env> = async (context) => { |
nothing calls this directly
no outgoing calls
no test coverage detected