mirror of
https://github.com/pixelfed/pixelfed.git
synced 2024-11-10 00:34:50 +00:00
Add COSTAR config
This commit is contained in:
parent
626bb4e700
commit
916ffe268f
2 changed files with 25 additions and 0 deletions
|
@ -65,3 +65,7 @@ HORIZON_DARKMODE=true
|
||||||
# php artisan optimize
|
# php artisan optimize
|
||||||
ACTIVITY_PUB=false
|
ACTIVITY_PUB=false
|
||||||
REMOTE_FOLLOW=false
|
REMOTE_FOLLOW=false
|
||||||
|
|
||||||
|
CS_BLOCKED_DOMAINS='example.org,example.net,example.com'
|
||||||
|
CS_CW_DOMAINS='example.org,example.net,example.com'
|
||||||
|
CS_UNLISTED_DOMAINS='example.org,example.net,example.com'
|
||||||
|
|
21
config/costar.php
Normal file
21
config/costar.php
Normal file
|
@ -0,0 +1,21 @@
|
||||||
|
<?php
|
||||||
|
|
||||||
|
/*
|
||||||
|
* COSTAR - Confirm Object Sentiment Transform and Reduce
|
||||||
|
*
|
||||||
|
* v 0.1
|
||||||
|
*
|
||||||
|
*/
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
return [
|
||||||
|
'enabled' => env('PF_COSTAR_ENABLED', true),
|
||||||
|
|
||||||
|
'domain' => [
|
||||||
|
'block' => env('CS_BLOCKED_DOMAINS', null) ? explode(',', env('CS_BLOCKED_DOMAINS')) : null,
|
||||||
|
'cw' => env('CS_CW_DOMAINS', null) ? explode(',', env('CS_CW_DOMAINS')) : null,
|
||||||
|
'unlisted' => env('CS_UNLISTED_DOMAINS', null) ? explode(',', env('CS_UNLISTED_DOMAINS')) : null,
|
||||||
|
],
|
||||||
|
|
||||||
|
];
|
Loading…
Reference in a new issue