Hugging Face
Models
Datasets
Spaces
Posts
Docs
Enterprise
Pricing
Log In
Sign Up
Spaces:
Duplicated from
Clebersla/RVC_V2_Huggingface_Version
dthomas84
/
RVC_RULE1
like
0
Sleeping
App
Files
Files
Community
Fetching metadata from the HF Docker repository...
77731d1
RVC_RULE1
/
tests
/
node_modules
/
axios
/
lib
/
helpers
/
parseProtocol.js
sjufan84
updated UI
77731d1
over 1 year ago
raw
Copy download link
history
blame
Safe
151 Bytes
'use strict'
;
export
default
function
parseProtocol
(
url
) {
const
match =
/^([-+\w]{1,25})(:?\/\/|:)/
.
exec
(url);
return
match && match[
1
] ||
''
;
}