Update utils.js

pull/2297/head
freearhey 4 years ago
parent bd7c6dae49
commit 1630366147

@ -181,4 +181,8 @@ utils.sleep = function (ms) {
}
}
utils.removeProtocol = function (string) {
return string.replace(/(^\w+:|^)\/\//, '')
}
module.exports = utils

Loading…
Cancel
Save