Skip to content

Enhanced ChatGPT Clone: Features Agents, MCP, Skills, DeepSeek, Anthropic, AWS, OpenAI, Responses API, Azure, Groq, o1, GPT-5, Mistral, OpenRouter, Vertex AI, Gemini, Artifacts, AI model switching, message search, Code Interpreter, langchain, DALL-E-3, OpenAPI Actions, Functions, Secure Multi-User Auth, Presets, open-source for self-hosting. Active

🌡️ feat: Add Health Check Route to Backend (#1623)

Danny Avilad2efc7b9df21
diff --git a/api/server/index.js b/api/server/index.js
index 86806b5914..9d7d3f8afd 100644
--- a/api/server/index.js
+++ b/api/server/index.js
@@ -28,6 +28,8 @@ const startServer = async () => {
const app = express();
await AppService(app);
+ app.get('/health', (_req, res) => res.status(200).send('OK'));
+
// Middleware
app.use(noIndex);
app.use(errorController);