mirror of
https://github.com/pixelfed/pixelfed.git
synced 2024-12-25 01:05:36 +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 {
|
try {
|
||||||
$url = $this->profile;
|
$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"',
|
'Accept' => 'application/ld+json; profile="https://www.w3.org/ns/activitystreams"',
|
||||||
'User-Agent' => 'PixelFedBot v0.1 - https://pixelfed.org'
|
'User-Agent' => 'PixelFedBot v0.1 - https://pixelfed.org'
|
||||||
])->get($url);
|
])->get($url);
|
||||||
|
|
Loading…
Reference in a new issue