Return pointer to http.Client in activityPubClient()

This commit is contained in:
Matt Baer 2020-01-23 12:03:23 -05:00
parent bc9843dfa3
commit 8d3e755c8f
1 changed files with 2 additions and 2 deletions

View File

@ -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,
}
}