config values

This commit is contained in:
primakov committed 2023-04-16 10:20:15 +03:00
1 parent 022a429995
commit 0663ed5370
2 files changed
+1 -16

No files matched your search

+1 -1
View File
@@ -1,7 +1,7 @@
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')});
export const socket = io(getConfigValue('journal.socket.url'), { path: getConfigValue('journal.socket.path')});
socket.on("connect", () => {
console.log('Socket connected', socket.id)
})