Spaces:
Running
Running
Download node_modules/next/dist/server/lib/match-next-data-pathname.js from cafe3310/ling-open-studio: direct link, hf CLI and curl.
- Browser
- Download file 551 Bytes
-
https://huggingface.co/spaces/cafe3310/ling-open-studio/resolve/main/node_modules/next/dist/server/lib/match-next-data-pathname.js
- Command line
-
hf download hf://spaces/cafe3310/ling-open-studio/node_modules/next/dist/server/lib/match-next-data-pathname.js
-
curl -L -o match-next-data-pathname.js https://huggingface.co/spaces/cafe3310/ling-open-studio/resolve/main/node_modules/next/dist/server/lib/match-next-data-pathname.js
551 Bytes
| ; | |
| 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 |