mirror of
https://github.com/iptv-org/iptv
synced 2026-10-22 02:56:48 -04:00
Delete statuses.json
This commit is contained in:
1 parent
410fcce365
commit
75c0cafb33
4 files changed
+1
-41
No files matched your search
@@ -1,11 +0,0 @@
|
||||
const statuses = require('../../data/statuses')
|
||||
|
||||
module.exports = function ({ title, status = {} }) {
|
||||
if (title) {
|
||||
const [_, label] = title.match(/\[(.*)\]/i) || [null, null]
|
||||
|
||||
return Object.values(statuses).find(s => s.label === label) || statuses['online']
|
||||
}
|
||||
|
||||
return status
|
||||
}
|
||||
Reference in new issue
Block a user