add rate limits to all public endpoints

This commit is contained in:
Hazelnoot 2024-11-22 13:43:06 -05:00
parent a38d8a91a1
commit e3b826db5a
243 changed files with 2908 additions and 9 deletions

View file

@ -24,6 +24,12 @@ export const meta = {
id: 'bddd57ac-ceb3-b29d-4334-86ea5fae481a',
},
},
// 10 calls per hour (match create)
limit: {
duration: 1000 * 60 * 60,
max: 10,
},
} as const;
export const paramDef = {