Update utils.js

This commit is contained in:
freearhey 2021-03-27 15:09:20 +03:00
parent bd7c6dae49
commit 1630366147

View File

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