We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b0c4d70 commit 9a36187Copy full SHA for 9a36187
internal/glance/glance.go
@@ -275,6 +275,9 @@ func (a *Application) Serve() error {
275
276
mux.HandleFunc("GET /api/pages/{page}/content/{$}", a.HandlePageContentRequest)
277
mux.HandleFunc("/api/widgets/{widget}/{path...}", a.HandleWidgetRequest)
278
+ mux.HandleFunc("GET /api/healthz", func(w http.ResponseWriter, _ *http.Request) {
279
+ w.WriteHeader(http.StatusOK)
280
+ })
281
282
mux.Handle(
283
fmt.Sprintf("GET /static/%s/{path...}", a.Config.Server.AssetsHash),
0 commit comments