mirror of
https://github.com/HeyPuter/puter
synced 2024-11-15 06:15:47 +00:00
Add ratelimit for /contactUs
This commit is contained in:
parent
3f6f4bb4c0
commit
1eac147918
@ -15,6 +15,10 @@ class EdgeRateLimitService extends BaseService {
|
|||||||
limit: 10,
|
limit: 10,
|
||||||
window: 15 * MINUTE,
|
window: 15 * MINUTE,
|
||||||
},
|
},
|
||||||
|
['contactUs']: {
|
||||||
|
limit: 10,
|
||||||
|
window: 15 * MINUTE,
|
||||||
|
},
|
||||||
['send-confirm-email']: {
|
['send-confirm-email']: {
|
||||||
limit: 10,
|
limit: 10,
|
||||||
window: HOUR,
|
window: HOUR,
|
||||||
|
Loading…
Reference in New Issue
Block a user