1
0
Fork 1
mirror of https://github.com/pixelfed/pixelfed.git synced 2024-12-23 00:05:29 +00:00

Update instance endpoint, add custom description

This commit is contained in:
Daniel Supernault 2021-04-28 19:26:12 -06:00
parent c8edca696b
commit 668e936eb5
No known key found for this signature in database
GPG key ID: 0DEF1C662C9033F7
2 changed files with 4 additions and 4 deletions

View file

@ -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' => [],

View file

@ -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),
@ -18,7 +18,7 @@ return [
'is_public' => env('INSTANCE_PUBLIC_HASHTAGS', false)
],
],
'email' => env('INSTANCE_CONTACT_EMAIL'),
'timeline' => [
@ -72,4 +72,4 @@ return [
'org' => env('COVID_LABEL_ORG', 'visit the WHO website')
]
],
];
];