chore: code formatting

This commit is contained in:
github-actions[bot]
2023-09-14 04:33:38 +00:00
parent 4362c2a27b
commit 6218d94ea3

View File

@@ -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({