Show as output

This commit is contained in:
Peter Stuifzand 2018-01-30 23:06:05 +01:00
parent 712760d771
commit 1db4c3cd28

View File

@ -202,7 +202,7 @@ func (handler *subscriptionHandler) addSubscriberCallback(topic string, subscrib
func (handler *subscriptionHandler) ServeHTTP(w http.ResponseWriter, r *http.Request) { func (handler *subscriptionHandler) ServeHTTP(w http.ResponseWriter, r *http.Request) {
if r.Method == http.MethodGet { if r.Method == http.MethodGet {
fmt.Println("WebSub hub") fmt.Fprintln(w, "WebSub hub")
return return
} }