Spaces:
Running
Running
Download node_modules/next/dist/server/lib/format-hostname.js from cafe3310/ling-open-studio: direct link, hf CLI and curl.
- Browser
- Download file 408 Bytes
-
https://huggingface.co/spaces/cafe3310/ling-open-studio/resolve/main/node_modules/next/dist/server/lib/format-hostname.js
- Command line
-
hf download hf://spaces/cafe3310/ling-open-studio/node_modules/next/dist/server/lib/format-hostname.js
-
curl -L -o format-hostname.js https://huggingface.co/spaces/cafe3310/ling-open-studio/resolve/main/node_modules/next/dist/server/lib/format-hostname.js
408 Bytes
| ; | |
| Object.defineProperty(exports, "__esModule", { | |
| value: true | |
| }); | |
| Object.defineProperty(exports, "formatHostname", { | |
| enumerable: true, | |
| get: function() { | |
| return formatHostname; | |
| } | |
| }); | |
| const _isipv6 = require("./is-ipv6"); | |
| function formatHostname(hostname) { | |
| return (0, _isipv6.isIPv6)(hostname) ? `[${hostname}]` : hostname; | |
| } | |
| //# sourceMappingURL=format-hostname.js.map |