diff --git a/src/Application.kt b/src/Application.kt index 56b657f..6461f55 100644 --- a/src/Application.kt +++ b/src/Application.kt @@ -41,7 +41,7 @@ fun Application.module(testing: Boolean = false) { } routing { - get("/") { + get("/benchmark") { val requestBody : String = call.receiveText() val msgObj: MessageObject = gson.fromJson(requestBody,MessageObject::class.java) mqttClient.publish("command/${msgObj.device_id}", message)