mirror of
https://github.com/iptv-org/iptv.git
synced 2026-10-20 09:05:28 -04:00
Update utils.js
This commit is contained in:
1 parent
a4f7ab9e67
commit
42404bfa65
1 file changed
+4
@@ -181,4 +181,8 @@ utils.sleep = function (ms) {
|
||||
}
|
||||
}
|
||||
|
||||
utils.removeProtocol = function (string) {
|
||||
return string.replace(/(^\w+:|^)\/\//, '')
|
||||
}
|
||||
|
||||
module.exports = utils
|
||||
Reference in new issue
Block a user