Spaces:
Running
Running
Download node_modules/next/dist/server/base-http/helpers.js from cafe3310/ling-open-studio: direct link, hf CLI and curl.
- Browser
- Download file 1.02 kB
-
https://huggingface.co/spaces/cafe3310/ling-open-studio/resolve/main/node_modules/next/dist/server/base-http/helpers.js
- Command line
-
hf download hf://spaces/cafe3310/ling-open-studio/node_modules/next/dist/server/base-http/helpers.js
-
curl -L -o helpers.js https://huggingface.co/spaces/cafe3310/ling-open-studio/resolve/main/node_modules/next/dist/server/base-http/helpers.js
1.02 kB
| ; | |
| Object.defineProperty(exports, "__esModule", { | |
| value: true | |
| }); | |
| 0 && (module.exports = { | |
| isNodeNextRequest: null, | |
| isNodeNextResponse: null, | |
| isWebNextRequest: null, | |
| isWebNextResponse: null | |
| }); | |
| function _export(target, all) { | |
| for(var name in all)Object.defineProperty(target, name, { | |
| enumerable: true, | |
| get: all[name] | |
| }); | |
| } | |
| _export(exports, { | |
| isNodeNextRequest: function() { | |
| return isNodeNextRequest; | |
| }, | |
| isNodeNextResponse: function() { | |
| return isNodeNextResponse; | |
| }, | |
| isWebNextRequest: function() { | |
| return isWebNextRequest; | |
| }, | |
| isWebNextResponse: function() { | |
| return isWebNextResponse; | |
| } | |
| }); | |
| const isWebNextRequest = (req)=>process.env.NEXT_RUNTIME === 'edge'; | |
| const isWebNextResponse = (res)=>process.env.NEXT_RUNTIME === 'edge'; | |
| const isNodeNextRequest = (req)=>process.env.NEXT_RUNTIME !== 'edge'; | |
| const isNodeNextResponse = (res)=>process.env.NEXT_RUNTIME !== 'edge'; | |
| //# sourceMappingURL=helpers.js.map |