bgs を更新
12
bgs.md
12
bgs.md
@@ -1,10 +1,20 @@
|
|||||||
- updated: 2025/12/3
|
- updated: 2025/12/3
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
|
$ PDS_HOST=syu.is
|
||||||
|
|
||||||
$ curl -X POST "https://bgs.syu.is/admin/pds/addTrustedDomain?domain=${PDS_HOST}" \
|
$ curl -X POST "https://bgs.syu.is/admin/pds/addTrustedDomain?domain=${PDS_HOST}" \
|
||||||
-H "Authorization: Bearer $BGS_ADMIN_KEY"
|
-H "Authorization: Bearer ${BGS_ADMIN_KEY}"
|
||||||
```
|
```
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
$ docker exec -it at-database-1 psql -U postgres -d bgs -c "UPDATE slurp_configs SET new_subs_disabled = false, new_pds_per_day_limit = 1000 WHERE id = 1;"
|
$ docker exec -it at-database-1 psql -U postgres -d bgs -c "UPDATE slurp_configs SET new_subs_disabled = false, new_pds_per_day_limit = 1000 WHERE id = 1;"
|
||||||
|
```
|
||||||
|
|
||||||
|
```sh
|
||||||
|
$ handle=syui.syui.ai
|
||||||
|
$ did=`curl -sL "https://syu.is/xrpc/com.atproto.repo.describeRepo?repo=$handle" |jq -r .did`
|
||||||
|
|
||||||
|
$ curl -X POST "https://bgs.syu.is/admin/repo/reset?did=${did}" \
|
||||||
|
-H "Authorization: Bearer ${BGS_ADMIN_KEY}"
|
||||||
```
|
```
|
||||||
Reference in New Issue
Block a user