From 5c54c943d805b91973a9f0d8d20d9b18af063058 Mon Sep 17 00:00:00 2001 From: syui Date: Wed, 3 Dec 2025 09:47:00 +0000 Subject: [PATCH] =?UTF-8?q?bgs=20=E3=82=92=E6=9B=B4=E6=96=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- bgs.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/bgs.md b/bgs.md index 8a443dd..c84b733 100644 --- a/bgs.md +++ b/bgs.md @@ -12,18 +12,18 @@ Therefore, the following steps are required. ```sh $ PDS_HOST=syu.is -$ curl -X POST "https://bgs.syu.is/admin/pds/addTrustedDomain?domain=${PDS_HOST}" \ +$ curl -X POST "https://bgs.${PDS_HOST}/admin/pds/addTrustedDomain?domain=${PDS_HOST}" \ -H "Authorization: Bearer ${BGS_ADMIN_KEY}" ``` ```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-db-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` +$ did=`curl -sL "https://${PDS_HOST}/xrpc/com.atproto.repo.describeRepo?repo=${handle}" |jq -r .did` -$ curl -X POST "https://bgs.syu.is/admin/repo/reset?did=${did}" \ +$ curl -X POST "https://bgs.${PDS_HOST}/admin/repo/reset?did=${did}" \ -H "Authorization: Bearer ${BGS_ADMIN_KEY}" -``` \ No newline at end of file +```