1
0
mirror of https://github.com/KubaPro010/fm-dx-webserver.git synced 2026-02-27 06:23:53 +01:00

Cached database tidy up

Tidy up changes to just include the cached db functionality and TX ID algo 3 addition ready for pull
This commit is contained in:
Adam Wisher
2025-05-15 09:08:24 +01:00
parent 65fc84ff9f
commit f818262eff
5 changed files with 7 additions and 9 deletions

View File

@@ -416,7 +416,7 @@ router.get('/log_fmlist', (req, res) => {
client: {
request_ip: clientIp
},
type: req.query.type ? req.query.type : 'tropo',
type: (req.query.type && dataHandler.dataToSend.txInfo.dist > 700) ? req.query.type : 'tropo',
log_msg: "Logged PS: " + dataHandler.dataToSend.ps.replace(/\s+/g, '_') + ", PI: " + dataHandler.dataToSend.pi + ", Signal: " + (dataHandler.dataToSend.sig - 11.25).toFixed(0) + " dBµV",
});