We must please make vet

This commit is contained in:
Jef Roosens 2022-02-02 13:34:28 +01:00
parent a29592ef36
commit eb57febdd3
Signed by untrusted user: Jef Roosens
GPG key ID: B580B976584B5F30
4 changed files with 6 additions and 1 deletions

View file

@ -25,6 +25,8 @@ fn is_pkg_name(s string) bool {
return s.contains('.pkg')
}
// healthcheck just returns a string, but can be used to quickly check if the
// server is still responsive.
['/health'; get]
pub fn (mut app App) healthcheck() web.Result {
return app.text('Healthy')