Skip to content

Commit

Permalink
Add signalling config
Browse files Browse the repository at this point in the history
  • Loading branch information
benfoxall committed Aug 26, 2024
1 parent 8a8675b commit 88ea59a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/yconfig.ts
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ const [name, password] = room.split('~');

// @ts-expect-error
// WebrtcProvider expects full Opts object, though it seems that Partial<Opts> works okay
const provider = new WebrtcProvider(name, doc, { password });
const provider = new WebrtcProvider(name, doc, { password, signaling: ['wss://y-signal-ben.fly.dev', 'wss://signaling.yjs.dev'] });

const config: YI = { room, doc, provider, initiator };

Expand Down

0 comments on commit 88ea59a

Please sign in to comment.