This commit is contained in:
Kiss Dávid
2026-03-21 12:34:29 +01:00
parent 9efbe5baee
commit 1ebb2e53a9
3 changed files with 3 additions and 4 deletions
Regular → Executable
+1 -1
View File
@@ -1,4 +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')
})
})