소스 검색

Update APFetchService

Daniel Supernault 5 년 전
부모
커밋
af87bf5038
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      app/Services/ActivityPubFetchService.php

+ 1 - 1
app/Services/ActivityPubFetchService.php

@@ -14,7 +14,7 @@ class ActivityPubFetchService
 	public $url;
 	public $headers = [
 		'Accept'		=> 'application/activity+json, application/json',
-		'User-Agent'	=> 'PixelfedBot - https://pixelfed.org'
+		'User-Agent'	=> '(Pixelfed/'.config('pixelfed.version').'; +'.config('app.url').')'
 	];
 
 	public static function queue()