Skip to content

Commit 26460fd

Browse files
committed
fix(webapp): don't rate limit deployment finalization
1 parent deb8089 commit 26460fd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

apps/webapp/app/services/apiRateLimit.server.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ export const apiRateLimiter = authorizationRateLimitMiddleware({
6161
"/api/v1/auth/jwt/claims",
6262
/^\/api\/v1\/runs\/[^\/]+\/attempts$/, // /api/v1/runs/$runFriendlyId/attempts
6363
/^\/api\/v1\/waitpoints\/tokens\/[^\/]+\/callback\/[^\/]+$/, // /api/v1/waitpoints/tokens/$waitpointFriendlyId/callback/$hash
64-
/^\/api\/v1\/deployments/, // /api/v1/deployments/*
64+
/^\/api\/v\d+\/deployments/, // /api/v{1,2,3,n}/deployments/*
6565
],
6666
log: {
6767
rejections: env.API_RATE_LIMIT_REJECTION_LOGS_ENABLED === "1",

0 commit comments

Comments
 (0)