Add logging for valiationURL
This commit is contained in:
parent
79a959f3b9
commit
1600b6740c
|
@ -70,6 +70,8 @@ func (handler *subscriptionHandler) ServeHTTP(w http.ResponseWriter, r *http.Req
|
||||||
validationURL.Query().Add("hub.topic", topicURL.String())
|
validationURL.Query().Add("hub.topic", topicURL.String())
|
||||||
validationURL.Query().Add("hub.challenge", RandStringBytes(12))
|
validationURL.Query().Add("hub.challenge", RandStringBytes(12))
|
||||||
|
|
||||||
|
log.Println(validationURL)
|
||||||
|
|
||||||
req, err := http.NewRequest(http.MethodGet, callbackURL.String(), nil)
|
req, err := http.NewRequest(http.MethodGet, callbackURL.String(), nil)
|
||||||
res, err := client.Do(req)
|
res, err := client.Do(req)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user