diff --git a/backend/src/main/kotlin/observer/nelle/nelleObserverBackend/Application.kt b/backend/src/main/kotlin/observer/nelle/nelleObserverBackend/Application.kt index 19b1976..bf85700 100644 --- a/backend/src/main/kotlin/observer/nelle/nelleObserverBackend/Application.kt +++ b/backend/src/main/kotlin/observer/nelle/nelleObserverBackend/Application.kt @@ -23,7 +23,6 @@ val logger = KotlinLogging.logger("nelle.observer API") fun main(args: Array): Unit = EngineMain.main(args) fun Application.module() { - } install(ContentNegotiation) install(CORS) { allowMethod(HttpMethod.Options) 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 aa71955..3084bbc 100644 --- a/backend/src/main/kotlin/observer/nelle/nelleObserverBackend/plugins/Routing.kt +++ b/backend/src/main/kotlin/observer/nelle/nelleObserverBackend/plugins/Routing.kt @@ -195,7 +195,7 @@ fun Application.configureRouting(client: HttpClient) { storeMessage(title, message, attach, click) } } - } + } // deprecate route("/meow") {