mirror of
https://github.com/DJ2LS/FreeDATA
synced 2024-05-14 08:04:33 +00:00
fixing wrong daemon port
This commit is contained in:
parent
0ce6a7b2d4
commit
5de47ce6b8
2 changed files with 16 additions and 12 deletions
|
@ -1,7 +1,11 @@
|
||||||
const path = require("path");
|
//const path = require("path");
|
||||||
const fs = require("fs");
|
//const fs = require("fs");
|
||||||
const os = require("os");
|
//const os = require("os");
|
||||||
const logger = require("winston")
|
|
||||||
|
import path from 'path'
|
||||||
|
import fs from 'fs'
|
||||||
|
import os from 'os'
|
||||||
|
|
||||||
|
|
||||||
// pinia store setup
|
// pinia store setup
|
||||||
import { setActivePinia } from 'pinia';
|
import { setActivePinia } from 'pinia';
|
||||||
|
@ -29,9 +33,9 @@ if (!fs.existsSync(configFolder)) {
|
||||||
const configDefaultSettings =
|
const configDefaultSettings =
|
||||||
'{\
|
'{\
|
||||||
"tnc_host": "127.0.0.1",\
|
"tnc_host": "127.0.0.1",\
|
||||||
"tnc_port": "3000",\
|
"tnc_port": 3000,\
|
||||||
"daemon_host": "127.0.0.1",\
|
"daemon_host": "127.0.0.1",\
|
||||||
"daemon_port": "3001",\
|
"daemon_port": 3001,\
|
||||||
"mycall": "AA0AA",\
|
"mycall": "AA0AA",\
|
||||||
"myssid": "0",\
|
"myssid": "0",\
|
||||||
"mygrid": "JN40aa",\
|
"mygrid": "JN40aa",\
|
||||||
|
@ -46,13 +50,13 @@ const configDefaultSettings =
|
||||||
"hamlib_pttprotocol": "ignore",\
|
"hamlib_pttprotocol": "ignore",\
|
||||||
"hamlib_ptt_port": "ignore",\
|
"hamlib_ptt_port": "ignore",\
|
||||||
"hamlib_dcd": "ignore",\
|
"hamlib_dcd": "ignore",\
|
||||||
"hamlbib_serialspeed_ptt": "9600",\
|
"hamlbib_serialspeed_ptt": 9600,\
|
||||||
"hamlib_rigctld_port" : "4532",\
|
"hamlib_rigctld_port" : 4532,\
|
||||||
"hamlib_rigctld_ip" : "127.0.0.1",\
|
"hamlib_rigctld_ip" : "127.0.0.1",\
|
||||||
"hamlib_rigctld_path" : "",\
|
"hamlib_rigctld_path" : "",\
|
||||||
"hamlib_rigctld_server_port" : "4532",\
|
"hamlib_rigctld_server_port" : 4532,\
|
||||||
"hamlib_rigctld_custom_args": "",\
|
"hamlib_rigctld_custom_args": "",\
|
||||||
"tci_port" : "50001",\
|
"tci_port" : 50001,\
|
||||||
"tci_ip" : "127.0.0.1",\
|
"tci_ip" : "127.0.0.1",\
|
||||||
"spectrum": "waterfall",\
|
"spectrum": "waterfall",\
|
||||||
"enable_scatter" : "False",\
|
"enable_scatter" : "False",\
|
||||||
|
@ -68,7 +72,7 @@ const configDefaultSettings =
|
||||||
"tuning_range_fmin" : "-50.0",\
|
"tuning_range_fmin" : "-50.0",\
|
||||||
"tuning_range_fmax" : "50.0",\
|
"tuning_range_fmax" : "50.0",\
|
||||||
"respond_to_cq" : "True",\
|
"respond_to_cq" : "True",\
|
||||||
"rx_buffer_size" : "16", \
|
"rx_buffer_size" : 16, \
|
||||||
"enable_explorer" : "False", \
|
"enable_explorer" : "False", \
|
||||||
"wftheme": 2, \
|
"wftheme": 2, \
|
||||||
"high_graphics" : "True",\
|
"high_graphics" : "True",\
|
||||||
|
|
|
@ -86,7 +86,7 @@ var config_export = {
|
||||||
"tnc_host": tnc_host.value,
|
"tnc_host": tnc_host.value,
|
||||||
"tnc_port": tnc_port.value,
|
"tnc_port": tnc_port.value,
|
||||||
"daemon_host": tnc_host.value,
|
"daemon_host": tnc_host.value,
|
||||||
"daemon_port": tnc_port.value + 1,
|
"daemon_port": (parseInt(tnc_port.value) + 1).toString(),
|
||||||
"mycall": mycall.value,
|
"mycall": mycall.value,
|
||||||
"myssid": myssid.value,
|
"myssid": myssid.value,
|
||||||
"mygrid": mygrid.value,
|
"mygrid": mygrid.value,
|
||||||
|
|
Loading…
Reference in a new issue