backend/src/main/kotlin/su/coolpeople/plugins/Routing.kt
2024-06-21 15:22:05 +04:00

13 lines
266 B
Kotlin

package su.coolpeople.plugins
import io.ktor.server.application.*
import io.ktor.server.response.*
import io.ktor.server.routing.*
fun Application.configureRouting() {
routing {
get("/") {
call.respondText("Hello World!")
}
}
}