diff options
Diffstat (limited to 'ui/ui.go')
-rw-r--r-- | ui/ui.go | 4 |
1 files changed, 0 insertions, 4 deletions
@@ -124,10 +124,6 @@ func Serve(router *mux.Router, cfg *config.Config, store *storage.Storage, pool uiRouter.HandleFunc("/logout", handler.logout).Name("logout").Methods("GET") uiRouter.HandleFunc("/", handler.showLoginPage).Name("login").Methods("GET") - router.HandleFunc("/healthcheck", func(w http.ResponseWriter, r *http.Request) { - w.Write([]byte("OK")) - }).Name("healthcheck") - router.HandleFunc("/robots.txt", func(w http.ResponseWriter, r *http.Request) { w.Header().Set("Content-Type", "text/plain") w.Write([]byte("User-agent: *\nDisallow: /")) |