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