mirror of
https://github.com/pixelfed/pixelfed.git
synced 2024-11-22 06:21:27 +00:00
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 [
|
||||
|
||||
'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' => [
|
||||
'enabled' => env('INSTANCE_CONTACT_FORM', false),
|
||||
|
@ -15,7 +11,7 @@ return [
|
|||
|
||||
'discover' => [
|
||||
'loops' => [
|
||||
'enabled' => false
|
||||
'enabled' => env('EXP_LOOPS', false),
|
||||
],
|
||||
'tags' => [
|
||||
'is_public' => env('INSTANCE_PUBLIC_HASHTAGS', false)
|
||||
|
@ -51,5 +47,10 @@ return [
|
|||
|
||||
'stories' => [
|
||||
'enabled' => env('STORIES_ENABLED', false),
|
||||
],
|
||||
|
||||
'restricted' => [
|
||||
'enabled' => env('RESTRICTED_INSTANCE', false),
|
||||
'level' => 1
|
||||
]
|
||||
];
|
Loading…
Reference in a new issue