Compare commits
2 commits
fbc54fa1c4
...
22fa786020
Author | SHA1 | Date | |
---|---|---|---|
22fa786020 | |||
cb6c2ac4fd |
1 changed files with 0 additions and 4 deletions
|
@ -23,10 +23,6 @@ val logger = KotlinLogging.logger("nelle.observer API")
|
|||
fun main(args: Array<String>): Unit = EngineMain.main(args)
|
||||
|
||||
fun Application.module() {
|
||||
install(RateLimit) {
|
||||
register {
|
||||
rateLimiter(limit = 10, refillPeriod = 2.minutes)
|
||||
}
|
||||
}
|
||||
install(ContentNegotiation)
|
||||
install(CORS) {
|
||||
|
|
Loading…
Reference in a new issue