Add root API route
This commit is contained in:
@@ -19,6 +19,13 @@ fun main() {
|
||||
|
||||
fun Application.module() {
|
||||
routing {
|
||||
get("/") {
|
||||
call.respondText(
|
||||
text = "RUVNOX Tactical API",
|
||||
contentType = ContentType.Text.Plain
|
||||
)
|
||||
}
|
||||
|
||||
get("/health") {
|
||||
call.respondText(
|
||||
text = "RUVNOX Tactical server online",
|
||||
|
||||
Reference in New Issue
Block a user