Files
TrisolarisServer/src/main/kotlin/com/android/trisolarisserver/controller/Health.kt
androidlover5842 398ad93232
All checks were successful
build-and-deploy / build-deploy (push) Successful in 27s
Adjust health response and auth chain ordering
2026-01-26 21:25:17 +05:30

18 lines
486 B
Kotlin

package com.android.trisolarisserver.controller
import org.springframework.web.bind.annotation.GetMapping
import org.springframework.web.bind.annotation.RestController
@RestController
class Health {
@GetMapping("/health")
fun health(): Map<String, String> {
return mapOf("status" to "ok", "build" to "2026-01-26-authfix")
}
@GetMapping("/")
fun root(): Map<String, String> {
return mapOf("status" to "ok", "build" to "2026-01-26-authfix")
}
}