🛠️ index.js -> updated endpoint path
This commit is contained in:
@@ -22,7 +22,7 @@ const limiter = rateLimit({
|
|||||||
app.use(limiter);
|
app.use(limiter);
|
||||||
|
|
||||||
// Random rejection reason endpoint
|
// Random rejection reason endpoint
|
||||||
app.get('/no', (req, res) => {
|
app.get('/', (req, res) => {
|
||||||
const reason = reasons[Math.floor(Math.random() * reasons.length)];
|
const reason = reasons[Math.floor(Math.random() * reasons.length)];
|
||||||
res.json({ reason });
|
res.json({ reason });
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user