silverwolf-x's picture
download
raw
396 Bytes
import { NextResponse } from 'next/server'
export async function middleware(request) {
// This middleware is used to test Suspensey CSS
if (
request.url.includes('_next/static/css/app/suspensey-css/slow/page.css')
) {
await new Promise((resolve) => setTimeout(resolve, 150))
}
return NextResponse.next()
}
export const config = {
matcher: '/_next/static/css/app/:name*',
}

Xet Storage Details

Size:
396 Bytes
·
Xet hash:
9a31a2d5ecedc9f9f7af17ac5c90828f24c0e938902166302f4f7b5b7a4a64e9

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