mirror of
https://github.com/sdkman/sdkman-cli.git
synced 2026-05-19 05:58:43 -04:00
Added /alive endpoint for cron.
This commit is contained in:
@@ -20,6 +20,11 @@ rm.get("/") { req ->
|
||||
req.response.sendFile('srv/scripts/install.sh')
|
||||
}
|
||||
|
||||
rm.get("/alive") { req ->
|
||||
addPlainTextHeader req
|
||||
req.response.end "OK"
|
||||
}
|
||||
|
||||
rm.get("/res/init") { req ->
|
||||
log 'init', 'n/a', 'n/a', req
|
||||
addPlainTextHeader req
|
||||
|
||||
Reference in New Issue
Block a user