From 0663ed537025e9bb7602b2f06c592cb92b25d1d4 Mon Sep 17 00:00:00 2001 From: primakov Date: Sun, 16 Apr 2023 10:20:15 +0300 Subject: [PATCH] config values --- ijl.config.js | 15 --------------- src/socket.ts | 2 +- 2 files changed, 1 insertion(+), 16 deletions(-) diff --git a/ijl.config.js b/ijl.config.js index 64259fa..e50b4be 100644 --- a/ijl.config.js +++ b/ijl.config.js @@ -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: { diff --git a/src/socket.ts b/src/socket.ts index 74a3c17..0166888 100644 --- a/src/socket.ts +++ b/src/socket.ts @@ -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) })