Browse Source

Update ApiController

Daniel Supernault 6 năm trước cách đây
mục cha
commit
a665b90b60

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

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