fix: compliance cleanup — add 86.0.0.0/24, 87.0.0.1/32 to cleanup list
This commit is contained in:
@@ -313,7 +313,7 @@ function bearer(t) { return { Authorization: 'Bearer ' + t }; }
|
||||
// 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.end();
|
||||
|
||||
Reference in New Issue
Block a user