feat(federation): add import API IP whitelist controls

This commit is contained in:
sagit
2026-02-10 06:40:46 +00:00
parent 00079ac7af
commit b205b47414
6 changed files with 347 additions and 12 deletions
@@ -199,7 +199,8 @@ CREATE TABLE IF NOT EXISTS peer_share (
is_active INTEGER DEFAULT 1,
created_time INTEGER NOT NULL,
updated_time INTEGER NOT NULL,
allowed_domains TEXT DEFAULT ''
allowed_domains TEXT DEFAULT '',
allowed_ips TEXT DEFAULT ''
);
CREATE TABLE IF NOT EXISTS peer_share_runtime (