Skip to content

Commit

Permalink
🌡️ feat: Add Health Check Route to Backend (danny-avila#1623)
Browse files Browse the repository at this point in the history
  • Loading branch information
danny-avila committed Jan 24, 2024
1 parent a3ca087 commit 6344d67
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions server/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 6344d67

Please sign in to comment.