nodepodMiddleware
Nodepod API / src/integrations/next / nodepodMiddleware
Variable: nodepodMiddleware
Section titled “Variable: nodepodMiddleware”
constnodepodMiddleware: (req) =>Promise<NextResponse<unknown> |null> =nodepodProxy
Defined in: src/integrations/next.ts:119
Alias of nodepodProxy for Next <=15 (middleware.ts).
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>