A lexicon-driven AppView for ATProto.
0

Configure Feed

Select the types of activity you want to include in your feed.

feat(xrpc-proxy): add settings to control the XRPC proxy

Signed-off-by: Trezy <tre@trezy.com>

+17
+17
web/src/lib/api.ts
··· 381 381 }); 382 382 } 383 383 384 + // Proxy config 385 + export type ProxyConfig = { 386 + mode: "disabled" | "open" | "allowlist" | "blocklist" 387 + nsids: string[] 388 + } 389 + 390 + export function getProxyConfig() { 391 + return apiFetch<ProxyConfig>("/admin/settings/xrpc-proxy") 392 + } 393 + 394 + export function updateProxyConfig(config: ProxyConfig) { 395 + return apiFetch("/admin/settings/xrpc-proxy", { 396 + method: "PUT", 397 + body: JSON.stringify(config), 398 + }) 399 + } 400 + 384 401 // Labelers 385 402 export function getLabelers() { 386 403 return apiFetch<LabelerSummary[]>("/admin/labelers");