Files
Webklar.com/node_modules/next/dist/server/lib/match-next-data-pathname.js
Basilosaurusrex f027651f9b main repo
2025-11-24 18:09:40 +01:00

18 lines
551 B
JavaScript

"use strict";
Object.defineProperty(exports, "__esModule", {
value: true
});
Object.defineProperty(exports, "matchNextDataPathname", {
enumerable: true,
get: function() {
return matchNextDataPathname;
}
});
const _pathmatch = require("../../shared/lib/router/utils/path-match");
const matcher = (0, _pathmatch.getPathMatch)("/_next/data/:path*");
function matchNextDataPathname(pathname) {
if (typeof pathname !== "string") return false;
return matcher(pathname);
}
//# sourceMappingURL=match-next-data-pathname.js.map