From 743355078587a1b69634a1e59df8316c34881266 Mon Sep 17 00:00:00 2001 From: limepot Date: Sat, 9 Nov 2024 11:28:26 -0700 Subject: [PATCH] god, whoops --- .../kotlin/observer/nelle/nelleObserverBackend/Application.kt | 1 - .../observer/nelle/nelleObserverBackend/plugins/Routing.kt | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) 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") {