forked from mirror/pixelfed
Update instance config, cleanup and add restricted mode
This commit is contained in:
parent
bf1c622c7c
commit
3be32597d3
1 changed files with 6 additions and 5 deletions
|
@ -3,10 +3,6 @@
|
||||||
return [
|
return [
|
||||||
|
|
||||||
'description' => env('INSTANCE_DESCRIPTION', null),
|
'description' => env('INSTANCE_DESCRIPTION', null),
|
||||||
'announcement' => [
|
|
||||||
'enabled' => env('INSTANCE_ANNOUNCEMENT_ENABLED', false),
|
|
||||||
'message' => env('INSTANCE_ANNOUNCEMENT_MESSAGE', 'Example announcement message.<br><span class="font-weight-normal">Something else here</span>')
|
|
||||||
],
|
|
||||||
|
|
||||||
'contact' => [
|
'contact' => [
|
||||||
'enabled' => env('INSTANCE_CONTACT_FORM', false),
|
'enabled' => env('INSTANCE_CONTACT_FORM', false),
|
||||||
|
@ -15,7 +11,7 @@ return [
|
||||||
|
|
||||||
'discover' => [
|
'discover' => [
|
||||||
'loops' => [
|
'loops' => [
|
||||||
'enabled' => false
|
'enabled' => env('EXP_LOOPS', false),
|
||||||
],
|
],
|
||||||
'tags' => [
|
'tags' => [
|
||||||
'is_public' => env('INSTANCE_PUBLIC_HASHTAGS', false)
|
'is_public' => env('INSTANCE_PUBLIC_HASHTAGS', false)
|
||||||
|
@ -51,5 +47,10 @@ return [
|
||||||
|
|
||||||
'stories' => [
|
'stories' => [
|
||||||
'enabled' => env('STORIES_ENABLED', false),
|
'enabled' => env('STORIES_ENABLED', false),
|
||||||
|
],
|
||||||
|
|
||||||
|
'restricted' => [
|
||||||
|
'enabled' => env('RESTRICTED_INSTANCE', false),
|
||||||
|
'level' => 1
|
||||||
]
|
]
|
||||||
];
|
];
|
Loading…
Reference in a new issue