From 12073636c78e105deb1758479f4b12813f79e898 Mon Sep 17 00:00:00 2001 From: L-tan <3786294+dolciss@users.noreply.github.com> Date: Wed, 22 Nov 2023 01:17:40 +0900 Subject: [PATCH] Switch subscription endpoint (#69) * Switch subscription endpoint * Switch on fallback default value --- .env.example | 2 +- src/index.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.env.example b/.env.example index d6e5de9..47b5938 100644 --- a/.env.example +++ b/.env.example @@ -8,7 +8,7 @@ FEEDGEN_LISTENHOST="localhost" FEEDGEN_SQLITE_LOCATION=":memory:" # Don't change unless you're working in a different environment than the primary Bluesky network -FEEDGEN_SUBSCRIPTION_ENDPOINT="wss://bsky.social" +FEEDGEN_SUBSCRIPTION_ENDPOINT="wss://bsky.network" # Set this to the hostname that you intend to run the service at FEEDGEN_HOSTNAME="example.com" diff --git a/src/index.ts b/src/index.ts index f05fa1b..7128525 100644 --- a/src/index.ts +++ b/src/index.ts @@ -12,7 +12,7 @@ const run = async () => { sqliteLocation: maybeStr(process.env.FEEDGEN_SQLITE_LOCATION) ?? ':memory:', subscriptionEndpoint: maybeStr(process.env.FEEDGEN_SUBSCRIPTION_ENDPOINT) ?? - 'wss://bsky.social', + 'wss://bsky.network', publisherDid: maybeStr(process.env.FEEDGEN_PUBLISHER_DID) ?? 'did:example:alice', subscriptionReconnectDelay: