Добавлена работа с сокетами
This commit is contained in:
@@ -0,0 +1,8 @@
|
||||
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)
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user