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