socket set up

This commit is contained in:
2025-09-28 08:02:47 -04:00
parent fa05830996
commit 83e813a950

View File

@@ -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);