fix: compliance cleanup — add 86.0.0.0/24, 87.0.0.1/32 to cleanup list

This commit is contained in:
2026-05-31 13:04:32 +03:00
parent 63d3a67eea
commit d1d591299e
+1 -1
View File
@@ -313,7 +313,7 @@ function bearer(t) { return { Authorization: 'Bearer ' + t }; }
// CLEANUP // CLEANUP
// ══════════════════════════════════════════════════ // ══════════════════════════════════════════════════
console.log('\n── Cleanup ──'); console.log('\n── Cleanup ──');
for (const c of [C.A, C.B, C.C, C.SUB, '9.9.9.0/24', '85.0.0.0/22', '85.0.0.0/24', '85.0.0.0/32', '1.2.4.1']) { for (const c of [C.A, C.B, C.C, C.SUB, '9.9.9.0/24', '85.0.0.0/22', '85.0.0.0/24', '85.0.0.0/32', '86.0.0.0/24', '87.0.0.1/32', '1.2.4.1']) {
await pool.query('UPDATE whitelist_entries SET deleted_at=NOW() WHERE value_cidr=$1 AND deleted_at IS NULL', [cidr(c)]); await pool.query('UPDATE whitelist_entries SET deleted_at=NOW() WHERE value_cidr=$1 AND deleted_at IS NULL', [cidr(c)]);
} }
await pool.end(); await pool.end();