Update utils.js

This commit is contained in:
freearhey committed 2021-03-27 15:09:20 +03:00
1 parent a4f7ab9e67
commit 42404bfa65
1 file changed
+4
+4
View File
@@ -181,4 +181,8 @@ utils.sleep = function (ms) {
}
}
utils.removeProtocol = function (string) {
return string.replace(/(^\w+:|^)\/\//, '')
}
module.exports = utils