From e01472739cb53016f1c5e054bf69a91d27581135 Mon Sep 17 00:00:00 2001 From: Drew Edwards Date: Mon, 17 Jun 2024 21:40:47 +0100 Subject: [PATCH] feat: 3.4.2 --- package.json | 2 +- src/webserver/index.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 237434f..b305ad9 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "krist", - "version": "3.4.1", + "version": "3.4.2", "description": "The new Krist node written in TypeScript.", "type": "module", "scripts": { diff --git a/src/webserver/index.ts b/src/webserver/index.ts index 9b66eb2..46bf5d1 100755 --- a/src/webserver/index.ts +++ b/src/webserver/index.ts @@ -77,7 +77,7 @@ export async function initWebserver(): Promise { if (!TEST) { app.use(rateLimit({ - windowMs: 60000, max: 120, + windowMs: 60000, max: 180, message: { ok: false, error: "rate_limit_hit" }, })); }