Archived
socket set up
This commit is contained in:
1 parent
fa05830996
commit
83e813a950
1 file changed
+5
@@ -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);
|
||||
Reference in new issue
Block a user