mirror of
https://github.com/danny-avila/LibreChat.git
synced 2025-09-22 08:12:00 +02: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();
|
||||
await AppService(app);
|
||||
|
||||
app.get('/health', (_req, res) => res.status(200).send('OK'));
|
||||
|
||||
// Middleware
|
||||
app.use(noIndex);
|
||||
app.use(errorController);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue