Switch subscription endpoint (#69)

* Switch subscription endpoint

* Switch on fallback default value
This commit is contained in:
L-tan 2023-11-22 01:17:40 +09:00 committed by GitHub
parent f1e9010a9a
commit 12073636c7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -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"

View File

@ -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: