Skip to content

Commit c0ef866

Browse files
committed
Add /health route
1 parent d6bf58d commit c0ef866

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

src/main/kotlin/no/java/cupcake/plugins/Routing.kt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,10 @@ fun Application.configureRouting(
2525
}
2626

2727
routing {
28+
get("/health") {
29+
call.respondText("OK")
30+
}
31+
2832
route("/api") {
2933
authenticate("javaBin", optional = securityOptional) {
3034
route("/conferences") {

0 commit comments

Comments
 (0)