Neah/node_modules/next/dist/esm/server/lib/match-next-data-pathname.js
2025-04-24 17:19:14 +02:00

8 lines
312 B
JavaScript

import { getPathMatch } from '../../shared/lib/router/utils/path-match';
const matcher = getPathMatch('/_next/data/:path*');
export function matchNextDataPathname(pathname) {
if (typeof pathname !== 'string') return false;
return matcher(pathname);
}
//# sourceMappingURL=match-next-data-pathname.js.map