9 lines
291 B
TypeScript
9 lines
291 B
TypeScript
import { getConfigValue } from "@ijl/cli";
|
|
import { io } from "socket.io-client";
|
|
|
|
export const socket = io(getConfigValue('hub-video-start.socket.url'), { path: getConfigValue('hub-video-start.socket.path')});
|
|
socket.on("connect", () => {
|
|
console.log('Socket connected', socket.id)
|
|
})
|
|
|