From d2efc7b9df21cadd299cb33b43186f3cb0ac85f6 Mon Sep 17 00:00:00 2001 From: Danny Avila Date: Wed, 24 Jan 2024 11:39:20 -0500 Subject: [PATCH] =?UTF-8?q?=F0=9F=8C=A1=EF=B8=8F=20feat:=20Add=20Health=20?= =?UTF-8?q?Check=20Route=20to=20Backend=20(#1623)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- api/server/index.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/api/server/index.js b/api/server/index.js index 86806b5914..9d7d3f8afd 100644 --- a/api/server/index.js +++ b/api/server/index.js @@ -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);