nodepodProxy
Nodepod API / src/integrations/next / nodepodProxy
Function: nodepodProxy()
Section titled “Function: nodepodProxy()”nodepodProxy(
req):Promise<NextResponse<unknown> |null>
Defined in: src/integrations/next.ts:101
Composable handler for Next 16’s proxy.ts or Next <=15’s middleware.ts.
Returns a response for the SW path, or null so the caller’s own logic
can take over.
Also exported as nodepodMiddleware for projects still on Next <=15.
Parameters
Section titled “Parameters”NextRequest
Returns
Section titled “Returns”Promise<NextResponse<unknown> | null>