mirror of
https://github.com/sot-tech/mochi.git
synced 2026-05-13 13:58:36 -07:00
Update the easter egg
This commit is contained in:
@@ -20,8 +20,7 @@ import (
|
||||
const jsonContentType = "application/json; charset=UTF-8"
|
||||
|
||||
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 != nil {
|
||||
if _, err := w.Write([]byte("STILL-ALIVE")); err != nil {
|
||||
return http.StatusInternalServerError, err
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user