mirror of
https://github.com/pixelfed/pixelfed.git
synced 2024-12-24 16:53:17 +00:00
Update httpsig util
This commit is contained in:
parent
ee19583444
commit
24ee5b1297
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue