diff --git a/src/lib/core/InfoBroker.mjs b/src/lib/core/InfoBroker.mjs index e56098e..bfdc971 100644 --- a/src/lib/core/InfoBroker.mjs +++ b/src/lib/core/InfoBroker.mjs @@ -17,13 +17,14 @@ class InfoBroker { this.allowed_tables = { // name → sysinfo name - cpu: "cpu", + // Note that the order here is the order in the web interface cpu_live: async () => { return { frequency: await sysinfo.cpuCurrentSpeed(), temperature: await sysinfo.cpuTemperature() }; }, + cpu: "cpu", meta: async () => await this.make_table_meta() }; }