Compare commits
2 commits
dc82e99a88
...
0f584b2fed
| Author | SHA1 | Date | |
|---|---|---|---|
| 0f584b2fed | |||
| 1d0662f891 |
2 changed files with 13 additions and 4 deletions
13
ngx/pds.ts
13
ngx/pds.ts
|
|
@ -26,11 +26,20 @@ 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", [
|
||||
ngx("location = /xrpc/app.bsky.ageassurance.getState", [
|
||||
"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"}'`
|
||||
`return 200 '${JSON.stringify({
|
||||
"state": {
|
||||
"lastInitiatedAt": "2025-07-25T01:40:38.406Z",
|
||||
"status": "assured",
|
||||
"access": "full"
|
||||
},
|
||||
"metadata": {
|
||||
"accountCreatedAt": "2024-10-17T13:55:48.833Z"
|
||||
}
|
||||
})}'`
|
||||
]),
|
||||
]),
|
||||
]);
|
||||
|
|
|
|||
|
|
@ -6,8 +6,8 @@
|
|||
"main": "index.js",
|
||||
"license": "MIT",
|
||||
"dependencies": {
|
||||
"@atproto/common": "^0.4.11",
|
||||
"@atproto/pds": "^0.4.185",
|
||||
"@atproto/common": "^0.5.3",
|
||||
"@atproto/pds": "^0.4.193",
|
||||
"dotenv": "^16.4.7",
|
||||
"express": "^4.21.2"
|
||||
},
|
||||
|
|
|
|||
Loading…
Reference in a new issue