Buckets:
silverwolf-x/project / packages /next-codemod /transforms /__testfixtures__ /middleware-to-proxy /runtime-direct-export.input.ts
| import { NextResponse, NextRequest } from 'next/server' | |
| export function middleware(request: NextRequest) { | |
| return NextResponse.redirect(new URL('/home', request.url)) | |
| } | |
| export const runtime = 'edge' | |
| export const config = { | |
| matcher: '/about/:path*', | |
| } |
Xet Storage Details
- Size:
- 257 Bytes
- Xet hash:
- 8c322bbd93e1418012c55ab90d99aede7a063611e5aa428f1f6534abb04946b6
·
Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.