silverwolf-x's picture
download
raw
364 Bytes
import type { NextRequest } from 'next/server'
import { NextResponse } from 'next/server'
export function middleware(request: NextRequest) {
const response = NextResponse.next()
response.headers.set('x-deferred-entries-middleware', 'true')
response.headers.set(
'x-deferred-entries-middleware-path',
request.nextUrl.pathname
)
return response
}

Xet Storage Details

Size:
364 Bytes
·
Xet hash:
154a71db6e558fd8526bcf49bc6227082a84d9b1aa3d4b5b9606beb2e8f9809c

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