hardcoded default jestream URL so that declaration in .env is not mandatory
Some checks failed
Create and publish the bot container / build-and-push-image (push) Has been cancelled

This commit is contained in:
Brad Ganley 2025-01-12 14:17:34 -06:00
parent 7effbdc970
commit 31ec15310d

View File

@ -116,7 +116,7 @@ async function initialize() {
await testAgent.authenticate()
jetstreamSubscription = new JetstreamSubscription(
handlers,
<string>Bun.env.JETSTREAM_URL,
<string>Bun.env.JETSTREAM_URL || "wss://jetstream1.us-west.bsky.network/subscribe",
[<string>Bun.env.USER_DID]
);
}