diff --git a/README.md b/README.md index e698f93..eff7361 100644 --- a/README.md +++ b/README.md @@ -34,7 +34,7 @@ php artisan vendor:publish --provider="Gabeta\CustomSmsChannels\CustomSmsChannel 'default' => env('CUSTOM_SMS_CHANNEL', 'sms_log'), 'preview' => [ - 'enable' => true, + 'enable' => env('ENABLE_SMS_PREVIEW', true), 'domain' => null, diff --git a/config/custom-sms-channels.php b/config/custom-sms-channels.php index 09e219c..a821470 100644 --- a/config/custom-sms-channels.php +++ b/config/custom-sms-channels.php @@ -4,17 +4,11 @@ 'default' => env('CUSTOM_SMS_CHANNEL', 'sms_log'), 'preview' => [ - 'enable' => true, + 'enable' => env('ENABLE_SMS_PREVIEW', true), 'domain' => null, 'path' => '/customs-sms-dashboard', - - 'broadcasting' => [ - 'host' => '0.0.0.0', - - 'port' => '6001' - ] ], 'providers' => [