Merge final group into main #3

Merged
quic merged 10 commits from group-26d3b827-6587-46c2-a46e-001281299174 into main 2026-05-10 20:10:02 +00:00
2 changed files with 4 additions and 2 deletions
Showing only changes of commit 2abc0f8930 - Show all commits

View File

@@ -4,7 +4,7 @@
"private": true,
"type": "module",
"scripts": {
"dev": "vite",
"dev": "PORT=4444 npx y-webrtc & vite",
"build": "tsc --noEmit && vite build",
"preview": "vite preview"
},

View File

@@ -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) => {