This commit is contained in:
Sebastien Riviere
2026-02-13 00:22:29 +01:00
parent eb72a1e5da
commit 5f16500634
11 changed files with 79 additions and 37 deletions

View File

@@ -1,9 +1,8 @@
import { createContext, useContext, useMemo } from "react";
import { io } from "socket.io-client";
import { URLS } from "../util/urls"
const SOCKET_URL = `wss://${URLS.HOST}/player`;
const SERVER_URL = `https://${URLS.HOST}/back`;
const SOCKET_URL = `ws://172.16.1.180/player`;
const SERVER_URL = `http://172.16.1.180/back`;
export const teamSocket = io(SOCKET_URL, {
path: "/back/socket.io",