Skip to content

Commit 2ade436

Browse files
authored
Update SERVER_URL for production environmentf
1 parent 06e8191 commit 2ade436

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/store/onlineLobbyStore.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import type { Room } from "colyseus.js";
66
// We'll use this server URL based on environment
77
const SERVER_URL =
88
import.meta.env.VITE_COLYSEUS_SERVER_URL ||
9-
(import.meta.env.DEV ? "ws://localhost:2567" : "wss://your-prod-server.com");
9+
(import.meta.env.DEV ? "ws://localhost:2567" : "https://handwar.onrender.com");
1010

1111
interface RoomInfo {
1212
roomId: string;

0 commit comments

Comments
 (0)