Buckets:
| import { NextResponse } from 'next/server' | |
| import { invokeNodeAPI } from './lib/utils' | |
| export default function middleware({ nextUrl }) { | |
| invokeNodeAPI(nextUrl.pathname.slice(1)) | |
| return nextUrl.pathname.startsWith('/api') | |
| ? NextResponse.next() | |
| : NextResponse.rewrite(new URL('/', nextUrl)) | |
| } | |
Xet Storage Details
- Size:
- 304 Bytes
- Xet hash:
- 15221d80c9ecced98e4290658dca1daa80c4b3e83f7794f36a6b600b21fa6a71
·
Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.