Update instance endpoint, add custom description

pull/2738/head
Daniel Supernault 5 years ago
parent c8edca696b
commit 668e936eb5
No known key found for this signature in database
GPG Key ID: 0DEF1C662C9033F7

@ -960,7 +960,7 @@ class ApiV1Controller extends Controller
$res = [
'approval_required' => false,
'contact_account' => null,
'description' => 'Pixelfed - Photo sharing for everyone',
'description' => config('instance.description'),
'email' => config('instance.email'),
'invites_enabled' => false,
'rules' => [],

@ -2,7 +2,7 @@
return [
'description' => env('INSTANCE_DESCRIPTION', null),
'description' => env('INSTANCE_DESCRIPTION', 'Pixelfed - Photo sharing for everyone'),
'contact' => [
'enabled' => env('INSTANCE_CONTACT_FORM', false),

Loading…
Cancel
Save