stuff
This commit is contained in:
Regular → Executable
+1
-1
@@ -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')
|
||||
})
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user