瀏覽代碼

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