spoof age assurance for pds

This commit is contained in:
Charlotte Som 2025-07-25 05:55:21 +00:00
parent 4742b6cbe3
commit 0cf4909b5a

View file

@ -26,6 +26,12 @@ export const config = ngx("", [
]), ]),
ngx("location = /hi-res-bnuy.png", ["root /srv/www/pds.bun.how"]), 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 = /", ["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"}'`
]),
]), ]),
]); ]);