Merge pull request #3776 from bluewave-labs/chore/simplify-deployment

chore: simplify deployment
This commit is contained in:
Alexander Holliday authored and GitHub committed 2026-07-13 09:57:13 -07:00
commit fe703199f5
98 files changed
+556 -2333

No files matched your search

+7
View File
@@ -52,6 +52,13 @@ export const createApp = ({
app.use(createStatusPageDocumentCsp(allowedOrigin));
// Client runtime config; registered before express.static so it shadows the
// fallback config.js in the client build output
const clientConfigScript = `window.__CHECKMATE_CONFIG__ = ${JSON.stringify(envSettings.clientConfig).replace(/</g, "\\u003c")};`;
app.get("/config.js", (req, res) => {
res.set("Cache-Control", "no-cache").type("application/javascript").send(clientConfigScript);
});
app.use(express.static(frontendPath));
app.use("/api/v1/monitors/import/json", express.json({ limit: "10mb" }));