This commit is contained in:
@@ -87,6 +87,11 @@ app.get("/health", (_, res) => {
|
||||
res.json({ status: "ok" });
|
||||
});
|
||||
|
||||
// Version endpoint
|
||||
app.get("/version", (_, res) => {
|
||||
res.json({ version: process.env.VERSION || "unknown", commit: process.env.COMMIT || "unknown" });
|
||||
});
|
||||
|
||||
// AI Test endpoint (for development only)
|
||||
app.post("/api/ai/test", async (req, res) => {
|
||||
try {
|
||||
|
||||
Reference in New Issue
Block a user