mirror of
https://github.com/thomiceli/opengist.git
synced 2025-07-13 03:11:51 +02:00
Add healthcheck endpoint (#170)
This commit is contained in:
@ -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)
|
||||
|
Reference in New Issue
Block a user