silverwolf-x's picture
download
raw
241 Bytes
import { NextRequest, NextResponse } from 'next/server'
export default function middleware(request: NextRequest) {
if (request.nextUrl.pathname === '/about') {
return NextResponse.rewrite(new URL('/new-about', request.nextUrl))
}
}

Xet Storage Details

Size:
241 Bytes
·
Xet hash:
fe99bc2903bcc8f0354c1384924adb2845fb15cd45f9273bbd3eed90ca5debf0

Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.