From fa7ff974b8b95614c71def61bab29959ed4a5f31 Mon Sep 17 00:00:00 2001 From: syui Date: Wed, 3 Dec 2025 18:49:34 +0900 Subject: [PATCH] fix bgs --- envs/bgs | 4 ++-- envs/pds | 2 ++ install.zsh | 2 ++ 3 files changed, 6 insertions(+), 2 deletions(-) diff --git a/envs/bgs b/envs/bgs index fa79239..a5097f3 100644 --- a/envs/bgs +++ b/envs/bgs @@ -2,5 +2,5 @@ DATABASE_URL=postgres://postgres:postgres@database/bgs CARSTORE_DATABASE_URL=postgres://postgres:postgres@database/carstore DATA_DIR=/data ATP_PLC_HOST=https://plc.${host} - -BGS_ADMIN_KEY +BGS_NEW_PDS_PER_DAY_LIMIT=1000 +BGS_ADMIN_KEY= diff --git a/envs/pds b/envs/pds index fabc2a4..b2f0241 100644 --- a/envs/pds +++ b/envs/pds @@ -6,6 +6,8 @@ PDS_BLOBSTORE_DISK_LOCATION=/data/img/static PDS_BSKY_APP_VIEW_DID=did:web:bsky.${host} PDS_BSKY_APP_VIEW_URL=https://bsky.${host} PDS_CRAWLERS=https://bgs.${host} +PDS_SEQUENCER_ENABLED=true +PDS_SEQUENCER_DB_LOCATION=/data/sequencer.sqlite PDS_DEV_MODE=true PDS_DID_PLC_URL=https://plc.${host} PDS_ENABLE_DID_DOC_WITH_SESSION=true diff --git a/install.zsh b/install.zsh index 44e78c7..643547f 100755 --- a/install.zsh +++ b/install.zsh @@ -152,6 +152,8 @@ GEOEOF # Disable Statsig (CORS fix) f=$dt/lib/statsig/statsig.tsx sed -i "s#api: 'https://events.bsky.app/v2'#api: '' // Disabled for self-hosted#g" $f + # Disable SDK initialization to prevent statsigapi.net connections + sed -i "s#const SDK_KEY = 'client-SXJakO39w9vIhl3D44u8UupyzFl4oZ2qPIkjwcvuPsV'#const SDK_KEY = '' // Disabled for self-hosted#g" $f f=$dt/view/icons/Logotype.tsx o=$d/icons/Logotype.tsx