fixed bug

This commit is contained in:
git 2025-06-15 20:45:48 +01:00
parent c10a43a1e3
commit d85df44262

View File

@ -228,7 +228,7 @@ async function fetchRemoteDevicesData() {
}
else if (['TXT', 'SRV'].includes(Type)) {
if (!db.remote.services[Name]) db.remote.services[Name] = { TXT: null, SRV: null };
db.remote.services[Name][Type] = Data;
db.remote.services[Name][Type] = (Data.substr(0,1)=="{"?JSON.parse(Data):Data);
}
});