Explorar o código

remove unneeded duplicate accept type

a %!s(int64=2) %!d(string=hai) anos
pai
achega
9bf651e442
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      app/Services/ActivityPubFetchService.php

+ 1 - 1
app/Services/ActivityPubFetchService.php

@@ -17,7 +17,7 @@ class ActivityPubFetchService
 		}
 
 		$headers = HttpSignature::instanceActorSign($url, false);
-		$headers['Accept'] = 'application/activity+json, application/ld+json; profile="https://www.w3.org/ns/activitystreams"';
+		$headers['Accept'] = 'application/ld+json; profile="https://www.w3.org/ns/activitystreams"';
 		$headers['User-Agent'] = '(Pixelfed/'.config('pixelfed.version').'; +'.config('app.url').')';
 
 		try {