fleet-dashboard/server.js

11 lines
355 B
JavaScript
Raw Permalink Normal View History

2026-05-28 11:12:44 +00:00
const express = require("express");
const app = express();
const SUMMARY_PROMPT = "Summarize the following alarm burst for an " +
"operations engineer in two sentences, most-critical first:";
app.get("/health", (_req, res) => res.json({ ok: true }));
app.get("/alarms", (_req, res) => res.json({ alarms: [] }));
app.listen(process.env.PORT || 8080);