Răsfoiți Sursa

Update ApiController

Daniel Supernault 6 ani în urmă
părinte
comite
7049b96a94
1 a modificat fișierele cu 6 adăugiri și 1 ștergeri
  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'),
                     '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);