( context: APIContext, next: () => ReturnType<APIRoute>, )
| 2 | import {mapMetaEnvToProcessEnv} from './lib/utils'; |
| 3 | |
| 4 | export function onRequest( |
| 5 | context: APIContext, |
| 6 | next: () => ReturnType<APIRoute>, |
| 7 | ): ReturnType<APIRoute> { |
| 8 | // Map the meta environment variables to process environment variables |
| 9 | mapMetaEnvToProcessEnv(); |
| 10 | |
| 11 | // Return a Response or the result of calling `next()` |
| 12 | return next(); |
| 13 | } |
nothing calls this directly
no test coverage detected