mirror of
https://github.com/MHSanaei/3x-ui.git
synced 2026-06-06 05:04:22 +00:00
fix: preserve VLESS encryption/decryption when searching/filtering inbounds (fixes #4405)
This commit is contained in:
parent
2928b52b04
commit
1e2fd822e6
1 changed files with 1 additions and 1 deletions
|
|
@ -143,7 +143,7 @@ function projectInbound(dbInbound, predicate) {
|
||||||
}
|
}
|
||||||
if (!Array.isArray(settings.clients)) return next;
|
if (!Array.isArray(settings.clients)) return next;
|
||||||
const filtered = settings.clients.filter(predicate);
|
const filtered = settings.clients.filter(predicate);
|
||||||
next.settings = Inbound.Settings.fromJson(dbInbound.protocol, { clients: filtered });
|
next.settings = Inbound.Settings.fromJson(dbInbound.protocol, { ...settings, clients: filtered });
|
||||||
next.invalidateCache();
|
next.invalidateCache();
|
||||||
return next;
|
return next;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue