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

This commit is contained in:
Danny Avila 2024-01-24 11:39:20 -05:00 committed by GitHub
parent 81ff598eba
commit d2efc7b9df
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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);