Skip to content

Commit

Permalink
chore: code formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] committed Sep 14, 2023
1 parent 4362c2a commit 6218d94
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source/app/web/instance.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -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({
Expand Down

0 comments on commit 6218d94

Please sign in to comment.