Return pointer to http.Client in activityPubClient()
This commit is contained in:
parent
bc9843dfa3
commit
8d3e755c8f
|
@ -62,8 +62,8 @@ func (ru *RemoteUser) AsPerson() *activitystreams.Person {
|
|||
}
|
||||
}
|
||||
|
||||
func activityPubClient() http.Client {
|
||||
return http.Client{
|
||||
func activityPubClient() *http.Client {
|
||||
return &http.Client{
|
||||
Timeout: 15 * time.Second,
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue