This commit is contained in:
Kiss Dávid
2025-07-18 10:27:33 +02:00
commit 590adb271d
40 changed files with 8792 additions and 0 deletions
+4
View File
@@ -0,0 +1,4 @@
import limiter from '@adonisjs/limiter/services/main'
export const throttle = limiter.define('global', () => {
return limiter.allowRequests(15).every('1 minute').blockFor('5 mins')
})