diff --git a/server/model/monitor.js b/server/model/monitor.js index 0e2d84ede..9089b8306 100644 --- a/server/model/monitor.js +++ b/server/model/monitor.js @@ -12,6 +12,7 @@ const { R } = require("redbean-node"); const { BeanModel } = require("redbean-node/dist/bean-model"); const { Notification } = require("../notification"); const version = require("../../package.json").version; +const apicache = require("../modules/apicache"); /** * status: @@ -333,6 +334,9 @@ class Monitor extends BeanModel { console.log(e); } } + + // Clear Status Page Cache + apicache.clear(); } } else {