forked from quic-issues/427e7578-d7bf-49c8-aee9-2dd999e25316
* fix WebrtcProvider use localhost for dev
This commit is contained in:
@@ -28,7 +28,9 @@ export function initSync(roomId: string): AppSync {
|
||||
? "connecting"
|
||||
: "offline";
|
||||
|
||||
const provider = new WebrtcProvider(roomId, doc);
|
||||
const provider = new WebrtcProvider(roomId, doc,{
|
||||
signaling: ["ws://localhost:4444", "ws://lynxpi.ddns.net:4444"]
|
||||
});
|
||||
const persistence = new IndexeddbPersistence(roomId, doc);
|
||||
|
||||
const syncConnectionStatus = (status: ConnectionStatus) => {
|
||||
|
||||
Reference in New Issue
Block a user