import { io } from 'socket.io-client'; const URL = process.env.NODE_ENV === "production" ? "https://pmg-api.gnmyt.dev" : "http://localhost:3000"; export const socket = io(URL);