1
0
Fork 1
mirror of https://github.com/pixelfed/pixelfed.git synced 2024-12-25 17:26:43 +00:00

Update ApiController

This commit is contained in:
Daniel Supernault 2019-04-20 20:00:59 -06:00
parent d8e9f1539b
commit 7049b96a94
No known key found for this signature in database
GPG key ID: 0DEF1C662C9033F7

View file

@ -32,10 +32,15 @@ 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' => [ 'activitypub' => [
'enabled' => config('pixelfed.activitypub_enabled'), 'enabled' => config('pixelfed.activitypub_enabled'),
'remote_follow' => config('pixelfed.remote_follow_enabled') 'remote_follow' => config('pixelfed.remote_follow_enabled')
] ],
'ab' => [
'lc' => config('exp.lc')
],
]; ];
}); });
return response()->json($res); return response()->json($res);