🌡️ feat: Add Health Check Route to Backend (#1623)
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user