Buckets:
silverwolf-x/project / packages /next-codemod /transforms /__testfixtures__ /middleware-to-proxy /async-function.output.ts
| import { NextResponse, NextRequest } from 'next/server' | |
| export async function proxy(request: NextRequest) { | |
| const response = await fetch('/api/auth') | |
| return NextResponse.redirect(new URL('/home', request.url)) | |
| } | |
| export const config = { | |
| matcher: '/about/:path*', | |
| } |
Xet Storage Details
- Size:
- 271 Bytes
- Xet hash:
- 20a3e71d905f796c793f36ae9eb9d7a6220a1b9b009441508e03ca3977301928
·
Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.