1
0
mirror of https://github.com/KubaPro010/fm-dx-webserver.git synced 2026-02-26 22:13:53 +01:00

connection boolean fix

This commit is contained in:
NoobishSVK
2024-11-07 19:24:47 +01:00
parent 21484dd6a2
commit df36b06931
2 changed files with 2 additions and 2 deletions

View File

@@ -229,7 +229,7 @@ if (serverConfig.xdrd.wirelessConnection === false) {
function connectToXdrd() {
const { xdrd } = serverConfig;
if (xdrd.wirelessConnection) {
if (xdrd.wirelessConnection && configExists()) {
client.connect(xdrd.xdrdPort, xdrd.xdrdIp, () => {
logInfo('Connection to xdrd established successfully.');