From 48ef40642809ad07941982ee9c86942d4d284e3f Mon Sep 17 00:00:00 2001 From: Rene Luria Date: Fri, 2 May 2025 16:45:08 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=9B=A0=EF=B8=8F=20index.js=20->=20updated?= =?UTF-8?q?=20endpoint=20path?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.js b/index.js index dcdd93e..f825391 100644 --- a/index.js +++ b/index.js @@ -22,7 +22,7 @@ const limiter = rateLimit({ app.use(limiter); // Random rejection reason endpoint -app.get('/no', (req, res) => { +app.get('/', (req, res) => { const reason = reasons[Math.floor(Math.random() * reasons.length)]; res.json({ reason }); });