From 290a0269324927648f98670d05cc0e29c1c99f0f Mon Sep 17 00:00:00 2001 From: DJ2LS Date: Sun, 22 Oct 2023 11:19:25 +0200 Subject: [PATCH] some more linting.. --- gui/src/js/settingsHandler.ts | 2 +- gui/src/js/sock.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/gui/src/js/settingsHandler.ts b/gui/src/js/settingsHandler.ts index 5238cc88..cc2a4a9c 100644 --- a/gui/src/js/settingsHandler.ts +++ b/gui/src/js/settingsHandler.ts @@ -25,11 +25,11 @@ if (typeof process.env["APPDATA"] !== "undefined") { case "darwin": appDataFolder = process.env["HOME"] + "/Library/Application Support"; console.log(appDataFolder); - break; case "linux": appDataFolder = process.env["HOME"] + "/.config"; console.log(appDataFolder); + break; case "win32": appDataFolder = "undefined"; break; diff --git a/gui/src/js/sock.js b/gui/src/js/sock.js index 0b3081fb..b18c5fd8 100644 --- a/gui/src/js/sock.js +++ b/gui/src/js/sock.js @@ -852,7 +852,7 @@ export function sendBroadcastChannel(obj) { ); console.log(data.length); let payload = data; - var command = + command = '{"type" : "fec", "command" : "transmit", "mode": "datac4", "wakeup": "True", "payload" : "' + payload + '"}';