mirror of
https://github.com/danny-avila/LibreChat.git
synced 2025-12-17 08:50:15 +01:00
🌡️ feat: Add Health Check Route to Backend (#1623)
This commit is contained in:
parent
81ff598eba
commit
d2efc7b9df
1 changed files with 2 additions and 0 deletions
|
|
@ -28,6 +28,8 @@ const startServer = async () => {
|
||||||
const app = express();
|
const app = express();
|
||||||
await AppService(app);
|
await AppService(app);
|
||||||
|
|
||||||
|
app.get('/health', (_req, res) => res.status(200).send('OK'));
|
||||||
|
|
||||||
// Middleware
|
// Middleware
|
||||||
app.use(noIndex);
|
app.use(noIndex);
|
||||||
app.use(errorController);
|
app.use(errorController);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue