Add ratelimit for /contactUs

This commit is contained in:
KernelDeimos 2024-04-24 16:09:04 -04:00
parent 3f6f4bb4c0
commit 1eac147918

View File

@ -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,