From 6218d94ea38efc5b0de2cee5714a3f6371215b8a Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Thu, 14 Sep 2023 04:33:38 +0000 Subject: [PATCH] chore: code formatting --- source/app/web/instance.mjs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/app/web/instance.mjs b/source/app/web/instance.mjs index ea00c4e4..7c077764 100644 --- a/source/app/web/instance.mjs +++ b/source/app/web/instance.mjs @@ -81,7 +81,7 @@ export default async function({sandbox = false} = {}) { //Rate limiter middleware if (ratelimiter) { app.set("trust proxy", 1) - const disabled = (ratelimiter.max === 0) + const disabled = ratelimiter.max === 0 if (disabled) delete ratelimiter.max middlewares.push(ratelimit({