Now processes returned with httpprocwatchd no longer nested in a "processes" field.

This commit is contained in:
Alexander Andreev 2021-03-13 16:16:48 +04:00
parent e29fe6bd75
commit acd346c450
Signed by: Arav
GPG Key ID: 610DF2574456329F

View File

@ -35,7 +35,7 @@ const articles_meta = {
async function getProcesses() {
let reimu = await fetch("http://reimu.home:14882/processes").then(r => r.json());
let sakuya = await fetch("http://sakuya.home:14882/processes").then(r => r.json());
return Object.fromEntries(Object.entries(reimu.processes).concat(Object.entries(sakuya.processes)));
return Object.fromEntries(Object.entries(reimu).concat(Object.entries(sakuya)));
}
function setRoutes(router) {