({ request, locals })
| 4 | export const prerender = false; |
| 5 | |
| 6 | export const ALL: APIRoute = async ({ request, locals }) => { |
| 7 | const runtime = (locals as unknown as { runtime?: { env?: unknown; ctx?: ExecutionContext } }).runtime; |
| 8 | return api.fetch(request, runtime?.env as any, runtime?.ctx as any); |
| 9 | }; |