浏览代码

Update ApiController

Daniel Supernault 6 年之前
父节点
当前提交
a665b90b60
共有 1 个文件被更改,包括 4 次插入0 次删除
  1. 4 0
      app/Http/Controllers/ApiController.php

+ 4 - 0
app/Http/Controllers/ApiController.php

@@ -31,6 +31,10 @@ class ApiController extends BaseApiController
 
                     'media_types' => config('pixelfed.media_types'),
                     'enforce_account_limit' => config('pixelfed.enforce_account_limit')
+                ],
+                'activitypub' => [
+                    'enabled' => config('pixelfed.activitypub_enabled'),
+                    'remote_follow' => config('pixelfed.remote_follow_enabled')
                 ]
             ];
         });