浏览代码

Update ApiController

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

+ 6 - 1
app/Http/Controllers/ApiController.php

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