spoof age assurance for pds
This commit is contained in:
parent
4742b6cbe3
commit
0cf4909b5a
1 changed files with 6 additions and 0 deletions
|
|
@ -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"}'`
|
||||
]),
|
||||
]),
|
||||
]);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue