Spaces:
Configuration error
Configuration error
Download node_modules/axios/lib/helpers/parseProtocol.js from CPISTO/TARSTHENEXT: direct link, hf CLI and curl.
- Browser
- Download file 151 Bytes
-
https://huggingface.co/spaces/CPISTO/TARSTHENEXT/resolve/main/node_modules/axios/lib/helpers/parseProtocol.js
- Command line
-
hf download hf://spaces/CPISTO/TARSTHENEXT/node_modules/axios/lib/helpers/parseProtocol.js
-
curl -L -o parseProtocol.js https://huggingface.co/spaces/CPISTO/TARSTHENEXT/resolve/main/node_modules/axios/lib/helpers/parseProtocol.js
151 Bytes
| ; | |
| export default function parseProtocol(url) { | |
| const match = /^([-+\w]{1,25})(:?\/\/|:)/.exec(url); | |
| return match && match[1] || ''; | |
| } | |