fixed bug
This commit is contained in:
parent
c10a43a1e3
commit
d85df44262
2
main.js
2
main.js
@ -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);
|
||||
}
|
||||
});
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user