Skip to content

Commit 36eaafc

Browse files
authored
Change 418 status to 429 (#55034)
1 parent 68960f4 commit 36eaafc

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/shielding/middleware/rate-limit.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -72,8 +72,7 @@ export function createRateLimiter(max = MAX, isAPILimiter = false) {
7272
res.status(options.statusCode).send(options.message)
7373
},
7474

75-
// Temporary so that we can see what is coming from Fastly v app level
76-
statusCode: 418, // "i'm a teapot"
75+
message: 'Express rate limiter: Too Many Requests',
7776
})
7877
}
7978

0 commit comments

Comments
 (0)