diff --git a/backend/.idea/checkstyle-idea.xml b/backend/.idea/checkstyle-idea.xml new file mode 100644 index 0000000..f1ca92b --- /dev/null +++ b/backend/.idea/checkstyle-idea.xml @@ -0,0 +1,15 @@ + + + + 10.20.1 + JavaOnly + + + \ No newline at end of file diff --git a/backend/.idea/codeStyles/Project.xml b/backend/.idea/codeStyles/Project.xml index 919ce1f..1bec35e 100644 --- a/backend/.idea/codeStyles/Project.xml +++ b/backend/.idea/codeStyles/Project.xml @@ -1,7 +1,10 @@ - - + + + + \ No newline at end of file diff --git a/backend/.idea/codeStyles/codeStyleConfig.xml b/backend/.idea/codeStyles/codeStyleConfig.xml index a55e7a1..6e6eec1 100644 --- a/backend/.idea/codeStyles/codeStyleConfig.xml +++ b/backend/.idea/codeStyles/codeStyleConfig.xml @@ -1,5 +1,6 @@ + \ No newline at end of file diff --git a/backend/.idea/ktfmt.xml b/backend/.idea/ktfmt.xml index bfb7166..228bfae 100644 --- a/backend/.idea/ktfmt.xml +++ b/backend/.idea/ktfmt.xml @@ -1,6 +1,6 @@ - \ No newline at end of file diff --git a/backend/src/main/kotlin/observer/nelle/nelleObserverBackend/plugins/Routing.kt b/backend/src/main/kotlin/observer/nelle/nelleObserverBackend/plugins/Routing.kt index fdfb984..aa71955 100644 --- a/backend/src/main/kotlin/observer/nelle/nelleObserverBackend/plugins/Routing.kt +++ b/backend/src/main/kotlin/observer/nelle/nelleObserverBackend/plugins/Routing.kt @@ -5,7 +5,6 @@ package observer.nelle.nelleObserverBackend.plugins import io.ktor.client.* import io.ktor.http.* import io.ktor.server.application.* -import io.ktor.server.plugins.ratelimit.* import io.ktor.server.request.* import io.ktor.server.response.* import io.ktor.server.routing.* @@ -68,7 +67,6 @@ fun kaomojiTimer() { // this is where the fun REST comes in! fun Application.configureRouting(client: HttpClient) { routing { - rateLimit { // route all paths of */api route("/api") { // meow @@ -197,7 +195,6 @@ fun Application.configureRouting(client: HttpClient) { storeMessage(title, message, attach, click) } } - } } // deprecate