forked from tangled.org/core
this repo has no description

spindle: write a tiny message at /

Signed-off-by: Anirudh Oppiliappan <anirudh@tangled.sh>

anirudh.fi 10b3b561 2d6f048f

verified
Changed files
+26
spindle
+26
spindle/server.go
··· 143 143 func (s *Spindle) Router() http.Handler { 144 144 mux := chi.NewRouter() 145 145 146 + mux.HandleFunc("/", func(w http.ResponseWriter, r *http.Request) { 147 + w.Write([]byte( 148 + ` **** 149 + *** *** 150 + *** ** ****** ** 151 + ** * ***** 152 + * ** ** 153 + * * * *************** 154 + ** ** *# ** 155 + * ** ** *** ** 156 + * * ** ** * ****** 157 + * ** ** * ** * * 158 + ** ** *** ** ** * 159 + ** ** * ** * * 160 + ** **** ** * * 161 + ** *** ** ** ** 162 + *** ** ***** 163 + ******************** 164 + ** 165 + * 166 + #************** 167 + ** 168 + ******** 169 + 170 + This is a spindle server. More info at https://tangled.sh/@tangled.sh/core/tree/master/docs/spindle`)) 171 + }) 146 172 mux.HandleFunc("/events", s.Events) 147 173 mux.HandleFunc("/owner", func(w http.ResponseWriter, r *http.Request) { 148 174 w.Write([]byte(s.cfg.Server.Owner))