Update utils.js

what-a-patch-1
freearhey 5 years ago
parent a4f7ab9e67
commit 42404bfa65

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

Loading…
Cancel
Save