Update the easter egg
This commit is contained in:
parent
7400792cc4
commit
8625c4b3c4
1 changed files with 1 additions and 2 deletions
|
@ -20,8 +20,7 @@ import (
|
||||||
const jsonContentType = "application/json; charset=UTF-8"
|
const jsonContentType = "application/json; charset=UTF-8"
|
||||||
|
|
||||||
func (s *Server) check(w http.ResponseWriter, r *http.Request, p httprouter.Params) (int, error) {
|
func (s *Server) check(w http.ResponseWriter, r *http.Request, p httprouter.Params) (int, error) {
|
||||||
_, err := w.Write([]byte("An easter egg goes here."))
|
if _, err := w.Write([]byte("STILL-ALIVE")); err != nil {
|
||||||
if err != nil {
|
|
||||||
return http.StatusInternalServerError, err
|
return http.StatusInternalServerError, err
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue