Switch subscription endpoint (#69)
* Switch subscription endpoint * Switch on fallback default value
This commit is contained in:
parent
f1e9010a9a
commit
12073636c7
@ -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"
|
||||
|
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user