Now processes returned with httpprocwatchd no longer nested in a "processes" field.
This commit is contained in:
parent
e29fe6bd75
commit
acd346c450
@ -35,7 +35,7 @@ const articles_meta = {
|
|||||||
async function getProcesses() {
|
async function getProcesses() {
|
||||||
let reimu = await fetch("http://reimu.home:14882/processes").then(r => r.json());
|
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());
|
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) {
|
function setRoutes(router) {
|
||||||
|
Loading…
Reference in New Issue
Block a user