Add styled /status page, update footer/terms links from /health to /status
All checks were successful
Deploy to Production / Deploy to Server (push) Successful in 2m49s

This commit is contained in:
OpenClaw 2026-02-16 19:48:25 +00:00
parent 59cc8f3d0e
commit 6cc30db5c6
11 changed files with 219 additions and 11 deletions

View file

@ -216,6 +216,12 @@ app.get("/terms", (_req, res) => {
res.sendFile(path.join(__dirname, "../public/terms.html"));
});
app.get("/status", (_req, res) => {
res.setHeader("Cache-Control", "public, max-age=60");
res.sendFile(path.join(__dirname, "../public/status.html"));
});
// API root
app.get("/api", (_req, res) => {
res.json({