From 83e813a950e4160ae13eb3ca8f474a92cad25857 Mon Sep 17 00:00:00 2001 From: Gabriel Garcia Date: Sun, 28 Sep 2025 08:02:47 -0400 Subject: [PATCH] socket set up --- concord-client/src/socket.ts | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 concord-client/src/socket.ts diff --git a/concord-client/src/socket.ts b/concord-client/src/socket.ts new file mode 100644 index 0000000..693e007 --- /dev/null +++ b/concord-client/src/socket.ts @@ -0,0 +1,5 @@ +import { io } from "socket.io-client"; + +const URL = import.meta.env.PROD === true ? undefined : "http://localhost:5173"; + +export const socket = io(URL);