Skip to content

Commit

Permalink
Merge pull request #709 from tone-row/dev
Browse files Browse the repository at this point in the history
v1.54.3
  • Loading branch information
rob-gordon authored Aug 11, 2024
2 parents 87b0461 + 20a0af4 commit 531265f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion api/prompt/_shared.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ export async function handleRateLimit(req: Request) {
redis: kv,
limiter: isPro
? Ratelimit.slidingWindow(3, "1m")
: Ratelimit.fixedWindow(3, "30d"),
: Ratelimit.fixedWindow(1, "30d"),
});

const rateLimitKey = isPro ? `pro_${customerId}` : `unauth_${ip}`;
Expand Down
2 changes: 1 addition & 1 deletion app/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "app",
"version": "1.54.2",
"version": "1.54.3",
"main": "module/module.js",
"license": "MIT",
"scripts": {
Expand Down

0 comments on commit 531265f

Please sign in to comment.