Add healthcheck endpoint (#170)

This commit is contained in:
Thomas Miceli
2023-12-16 01:27:00 +01:00
parent 246f12c8cb
commit 47869a77c9
4 changed files with 36 additions and 1 deletions

View File

@ -208,6 +208,8 @@ func NewServer(isDev bool) *Server {
g1.GET("/", create, logged)
g1.POST("/", processCreate, logged)
g1.GET("/healthcheck", healthcheck)
g1.GET("/register", register)
g1.POST("/register", processRegister)
g1.GET("/login", login)