Spaces:
Running
Running
Download node_modules/next/dist/server/normalizers/request/base-path.js from cafe3310/ling-open-studio: direct link, hf CLI and curl.
- Browser
- Download file 751 Bytes
-
https://huggingface.co/spaces/cafe3310/ling-open-studio/resolve/main/node_modules/next/dist/server/normalizers/request/base-path.js
- Command line
-
hf download hf://spaces/cafe3310/ling-open-studio/node_modules/next/dist/server/normalizers/request/base-path.js
-
curl -L -o base-path.js https://huggingface.co/spaces/cafe3310/ling-open-studio/resolve/main/node_modules/next/dist/server/normalizers/request/base-path.js
751 Bytes
| ; | |
| Object.defineProperty(exports, "__esModule", { | |
| value: true | |
| }); | |
| Object.defineProperty(exports, "BasePathPathnameNormalizer", { | |
| enumerable: true, | |
| get: function() { | |
| return BasePathPathnameNormalizer; | |
| } | |
| }); | |
| const _prefix = require("./prefix"); | |
| class BasePathPathnameNormalizer extends _prefix.PrefixPathnameNormalizer { | |
| constructor(basePath){ | |
| if (!basePath || basePath === '/') { | |
| throw Object.defineProperty(new Error('Invariant: basePath must be set and cannot be "/"'), "__NEXT_ERROR_CODE", { | |
| value: "E154", | |
| enumerable: false, | |
| configurable: true | |
| }); | |
| } | |
| super(basePath); | |
| } | |
| } | |
| //# sourceMappingURL=base-path.js.map |