Add COSTAR config

This commit is contained in:
Daniel Supernault 2019-04-04 19:42:45 -06:00
parent 626bb4e700
commit 916ffe268f
No known key found for this signature in database
GPG Key ID: 0DEF1C662C9033F7
2 changed files with 25 additions and 0 deletions

View File

@ -65,3 +65,7 @@ HORIZON_DARKMODE=true
# php artisan optimize
ACTIVITY_PUB=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
View 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,
],
];