add rate limits to all public endpoints
This commit is contained in:
@@ -26,6 +26,12 @@ export const meta = {
|
||||
'...',
|
||||
],
|
||||
},
|
||||
|
||||
// 5 calls per second
|
||||
limit: {
|
||||
duration: 1000,
|
||||
max: 5,
|
||||
},
|
||||
} as const;
|
||||
|
||||
export const paramDef = {
|
||||
|
||||
Reference in New Issue
Block a user