merge(git): resolve conflict in proxy/index.js

This commit is contained in:
Rafif-Riqullah-Siregar committed 2026-07-15 00:28:34 +07:00
commit 5ae7339394
5 files changed
+132 -3

No files matched your search

+2 -2
View File
@@ -162,8 +162,8 @@ async function fetchFlows(limit = 10000, agentUuid = null, siteUuid = null) {
const sniList = [];
if (sniRaw && Array.isArray(sniRaw)) {
for (const r of sniRaw) {
const sni = r.tls_sni;
if (sni && sni.trim() !== '') sniList.push(sni.replace(/^\*\./, '').trim());
const sni = typeof r.tls_sni === 'object' ? r.tls_sni?.label : r.tls_sni;
if (sni && typeof sni === 'string' && sni.trim() !== '') sniList.push(sni.replace(/^\*\./, '').trim());
}
}
return raw.map(r => {