mirror of
https://github.com/sot-tech/mochi.git
synced 2026-05-13 23:08:36 -07:00
Update the easter egg
This commit is contained in:
@@ -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
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user