traintrape-moi/client/utils/socket.ts

4 lines
111 B
TypeScript

import { io } from 'socket.io-client'
export const socket = io(process.env.EXPO_PUBLIC_TRAINTRAPE_MOI_SERVER)