silverwolf-x/project / packages /next /src /server /lib /match-next-data-pathname.ts
silverwolf-x's picture
download
raw
281 Bytes
import { getPathMatch } from '../../shared/lib/router/utils/path-match'
const matcher = getPathMatch('/_next/data/:path*')
export function matchNextDataPathname(pathname: string | null | undefined) {
if (typeof pathname !== 'string') return false
return matcher(pathname)
}

Xet Storage Details

Size:
281 Bytes
·
Xet hash:
1fd1c63bf4a8872f64ffcb783210cffc7d9d86b16c039f611ce1ca9bb9656929

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