Compare commits

...

2 commits

Author SHA1 Message Date
22fa786020 Merge remote-tracking branch 'origin/main' 2024-11-09 11:20:46 -07:00
cb6c2ac4fd remove ratelimiter 2024-11-09 11:20:20 -07:00

View file

@ -23,10 +23,6 @@ val logger = KotlinLogging.logger("nelle.observer API")
fun main(args: Array<String>): Unit = EngineMain.main(args) fun main(args: Array<String>): Unit = EngineMain.main(args)
fun Application.module() { fun Application.module() {
install(RateLimit) {
register {
rateLimiter(limit = 10, refillPeriod = 2.minutes)
}
} }
install(ContentNegotiation) install(ContentNegotiation)
install(CORS) { install(CORS) {