mirror of
https://github.com/ngoduykhanh/wireguard-ui.git
synced 2025-07-09 17:34:25 +03:00
Update healthcheck (#124)
This commit is contained in:
parent
2d9eeb08e8
commit
bf2b74fe84
3 changed files with 9 additions and 1 deletions
1
main.go
1
main.go
|
@ -105,6 +105,7 @@ func main() {
|
|||
|
||||
sendmail := emailer.NewSendgridApiMail(util.SendgridApiKey, util.EmailFromName, util.EmailFrom)
|
||||
|
||||
app.GET("/_health", handler.Health())
|
||||
app.GET("/logout", handler.Logout(), handler.ValidSession)
|
||||
app.POST("/new-client", handler.NewClient(db), handler.ValidSession)
|
||||
app.POST("/update-client", handler.UpdateClient(db), handler.ValidSession)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue