config values
This commit is contained in:
parent
022a429995
commit
0663ed5370
@ -13,21 +13,6 @@ module.exports = {
|
||||
features: {
|
||||
'journal': {
|
||||
// add your features here in the format [featureName]: { value: string }
|
||||
"keyboard": {
|
||||
"on": true,
|
||||
"value": "true",
|
||||
"key": "keyboard"
|
||||
},
|
||||
"fullScreen": {
|
||||
"on": true,
|
||||
"value": "true",
|
||||
"key": "fullScreen"
|
||||
},
|
||||
"blowAnim": {
|
||||
"on": true,
|
||||
"value": "true",
|
||||
"key": "blowAnim"
|
||||
}
|
||||
},
|
||||
},
|
||||
config: {
|
||||
|
@ -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)
|
||||
})
|
||||
|
Loading…
Reference in New Issue
Block a user