Show as output
This commit is contained in:
parent
712760d771
commit
1db4c3cd28
|
@ -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
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user