From 7ce98683e9b1086cfc9afd7c6ea8ebc757e74571 Mon Sep 17 00:00:00 2001 From: Ahmed Saeed Date: Fri, 29 Mar 2024 17:10:28 +0200 Subject: [PATCH] Add ping endpoint to test CD --- src/services/auth/src/index.ts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/services/auth/src/index.ts b/src/services/auth/src/index.ts index b9676e1..5821520 100644 --- a/src/services/auth/src/index.ts +++ b/src/services/auth/src/index.ts @@ -21,6 +21,10 @@ app.get('/public-key', (req, res) => { app.use(bodyParser.json()); +app.get('/ping', (req, res) => { + return res.send("pong!"); +}); + app.use('/auth', authRouter); app.use(errorHandler);