You've already forked fm-dx-webserver
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:
@@ -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.');
|
||||
|
||||
|
||||
@@ -21,7 +21,7 @@ let serverConfig = {
|
||||
chatEnabled: true
|
||||
},
|
||||
xdrd: {
|
||||
wirelessConnection: "",
|
||||
wirelessConnection: true,
|
||||
comPort: "",
|
||||
xdrdIp: "127.0.0.1",
|
||||
xdrdPort: 7373,
|
||||
|
||||
Reference in New Issue
Block a user