Skip to content

Commit 387dfee

Browse files
author
=
committed
feat: plugin and new tables
1 parent 97d97fb commit 387dfee

File tree

14 files changed

+604
-327
lines changed

14 files changed

+604
-327
lines changed

build.gradle.kts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,4 +45,5 @@ dependencies {
4545
implementation("org.jetbrains.exposed:exposed-java-time:$exposed_version")
4646
implementation("io.ktor:ktor-server-request-validation:$ktor_version")
4747
implementation("io.ktor:ktor-server-status-pages:$ktor_version")
48+
implementation("io.ktor:ktor-server-rate-limit:$ktor_version")
4849
}

src/main/kotlin/com/example/Application.kt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ fun main() {
1616

1717
fun Application.module() {
1818
configureDatabase()
19+
configureRateLimiting()
1920
configureSerialization()
2021
configureRouting()
2122
configureValidation()

0 commit comments

Comments
 (0)