π A self-hostable personal dashboard built for you. Includes status-checking, widgets, themes, icon packs, a UI editor and tons more!
Vue awesomedashboarddockerhomelabhomepagemitnodejsorganizationproductivitypwaself-hostedstartpagevue
Send content type header response
Al Salehf9c0ff68f78a
diff --git a/server.js b/server.jsindex 8c70a248..5737245c 100644--- a/server.js+++ b/server.js@@ -147,7 +147,8 @@ const app = express().use(ENDPOINTS.statusCheck, (req, res) => {try {statusCheck(req.url, async (results) => {- await res.json(results).end();+ res.setHeader('Content-Type', 'application/json');+ await res.end(results);});} catch (e) {printWarning(`Error running status check for ${req.url}\n`, e);