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