first lol

This commit is contained in:
legop3
2025-11-15 04:05:01 -05:00
parent 4d3bc09e2b
commit d64cfe2d46
42 changed files with 5011 additions and 880 deletions
+11
View File
@@ -0,0 +1,11 @@
import { io } from "socket.io-client";
console.log('socket.io client loaded')
const serverUrl = import.meta.env.VITE_ROVERD_URL ?? "http://localhost:8080";
export const socket = io(serverUrl, {
transports: ["websocket"], // skip polling if your backend supports it
query: {
role: "user"
}
});