From 85a7b1632a9e5ced346ea5e22b6d4448057d3f2c Mon Sep 17 00:00:00 2001 From: Orion Reed Date: Wed, 31 Jul 2024 19:51:13 +0100 Subject: [PATCH] fix dev port --- package.json | 4 ++-- src/App.tsx | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package.json b/package.json index 4ec6178..4e149f0 100644 --- a/package.json +++ b/package.json @@ -4,7 +4,7 @@ "version": "0.0.0", "type": "module", "scripts": { - "dev": "concurrently \"vite\" \"HOST=localhost PORT=4321 npx y-websocket\" --kill-others", + "dev": "concurrently \"vite\" \"HOST=localhost PORT=1234 npx y-websocket\" --kill-others", "build": "tsc && vite build", "preview": "vite preview", "deploy": "yarn build && npx partykit deploy", @@ -37,4 +37,4 @@ "vite-plugin-wasm": "^3.2.2" }, "packageManager": "yarn@4.0.2" -} +} \ No newline at end of file diff --git a/src/App.tsx b/src/App.tsx index f563c00..9f6ef79 100644 --- a/src/App.tsx +++ b/src/App.tsx @@ -19,7 +19,7 @@ const HOST_URL = import.meta.env.DEV export default function Canvas() { const roomId = - new URLSearchParams(window.location.search).get("room") || "2024"; + new URLSearchParams(window.location.search).get("room") || "2024-2"; const store = useYjsStore({ roomId: roomId, hostUrl: HOST_URL,