Memos is an open-source, self-hosted note-taking app that brings your everyday thoughts together in a personal timeline. Your data stays yours, and you choose what to keep private or share.
Go dockerfossgomarkdownmemomicroblognote-takingnotesopen-sourceown-your-datareactself-hostedsqlitetimeline
chore: add `/healthz` endpoint
Steven8586ebf0987a
diff --git a/server/server.go b/server/server.goindex abcb79208..807900810 100644--- a/server/server.go+++ b/server/server.go@@ -99,6 +99,12 @@ func NewServer(ctx context.Context, profile *profile.Profile, store *store.Store}s.Secret = secret+ // Register healthz endpoint.+ e.GET("/healthz", func(c echo.Context) error {+ return c.String(http.StatusOK, "OK!\n")+ })++ // Register API v1 endpoints.rootGroup := e.Group("")apiV1Service := apiv1.NewAPIV1Service(s.Secret, profile, store, s.telegramBot)apiV1Service.Register(rootGroup)