From 0cf4909b5a805e89120f866d9934fcc85871de0c Mon Sep 17 00:00:00 2001 From: Charlotte Som Date: Fri, 25 Jul 2025 05:55:21 +0000 Subject: [PATCH] spoof age assurance for pds --- ngx/pds.ts | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/ngx/pds.ts b/ngx/pds.ts index 17131d5..3bbc566 100644 --- a/ngx/pds.ts +++ b/ngx/pds.ts @@ -26,6 +26,12 @@ export const config = ngx("", [ ]), ngx("location = /hi-res-bnuy.png", ["root /srv/www/pds.bun.how"]), ngx("location = /", ["root /srv/www/pds.bun.how", "index hi-res-bnuy.png"]), + ngx("location = /xrpc/app.bsky.unspecced.getAgeAssuranceState", [ + "default_type application/json", + `add_header access-control-allow-headers "authorization,dpop,atproto-accept-labelers,atproto-proxy" always`, + `add_header access-control-allow-origin "*" always`, + `return 200 '{"status": "assured", "lastInitiatedAt": "2025-07-25T05:54:31.995Z"}'` + ]), ]), ]);