1
0
Fork 1
mirror of https://github.com/pixelfed/pixelfed.git synced 2024-12-24 08:44:02 +00:00

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

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);