import { io } from "socket.io-client";

// Connect to your Socket.io server
const socket = io(`${window.location.host}`, {
	path: "/lst/api/socket.io",
	withCredentials: true,
	// autoConnect: false, // connect manually
	// reconnection: true,
	// reconnectionAttempts: 5,
	// reconnectionDelay: 1000,
});

export default socket;
