Hi!
I'm trying to set up netlify rate limiting in my nust app. Does anybody know where I should export the config object from?
export const config = {
path: "/api/auth/*",
rateLimit: {
windowLimit: 60,
windowSize: 60,
aggregateBy: ["ip", "domain"]
}
}
I tried exporting it from /server/api/auth/login.post.ts
but it doesnt work. docs say the rules should be listed in the post processing section of the deploy logs, but it's not there.
any idea ? thsnks !