From 8fbaf158df48c75ebd8a82a885b5238e127b6400 Mon Sep 17 00:00:00 2001 From: devbeni Date: Fri, 19 Sep 2025 19:35:02 +0200 Subject: [PATCH] fix: update Socket.IO connection URL to use specific IP address --- app/event/[id]/page.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/event/[id]/page.tsx b/app/event/[id]/page.tsx index e575aa0..637ea80 100644 --- a/app/event/[id]/page.tsx +++ b/app/event/[id]/page.tsx @@ -65,7 +65,7 @@ export default function EventPage() { .then(({ io }) => { if (!mounted) return; const socketPort = process.env.NEXT_PUBLIC_SOCKET_PORT || "4000"; - const socket = io(`http://localhost:${socketPort}`, { + const socket = io(`http://10.20.0.188:${socketPort}`, { autoConnect: true }); socketRef.current = socket;