mirror of
https://github.com/alireza0/x-ui.git
synced 2026-03-14 05:23:09 +00:00
new xray settings configuration #202
This commit is contained in:
@@ -104,4 +104,13 @@ function usageColor(data, threshold, total) {
|
||||
default:
|
||||
return 'red';
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
function areAllItemsExist(array1, array2) {
|
||||
for (let i = 0; i < array1.length; i++) {
|
||||
if (!array2.includes(array1[i])) {
|
||||
return false;
|
||||
}
|
||||
}
|
||||
return true;
|
||||
}
|
||||
Reference in New Issue
Block a user