Update httpsig util

This commit is contained in:
Daniel Supernault 2018-08-25 22:13:54 -06:00
parent ee19583444
commit 24ee5b1297
No known key found for this signature in database
GPG Key ID: 0DEF1C662C9033F7
1 changed files with 1 additions and 1 deletions

View File

@ -46,7 +46,7 @@ class HTTPSignature {
try {
$url = $this->profile;
$res = Zttp::timeout(60)->withoutVerifying()->withHeaders([
$res = Zttp::timeout(30)->withHeaders([
'Accept' => 'application/ld+json; profile="https://www.w3.org/ns/activitystreams"',
'User-Agent' => 'PixelFedBot v0.1 - https://pixelfed.org'
])->get($url);