Skip to content

Commit

Permalink
v1.3.0
Browse files Browse the repository at this point in the history
  • Loading branch information
dridihaythem committed Dec 30, 2023
1 parent 9213f11 commit 7616c96
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -55,10 +55,11 @@ The package provides a sample dashboard to **display the history of all SMS and

<img src="screenshots/dashboard.png">

By default, the dashboard is **disabled in a production environment**. However, you have the flexibility to manually enable or disable the dashboard, or even change the route name, by modifying the configuration file located at **config/orange_sms_tunisia.php**.
By default, the dashboard is **enabled**. However, you have the flexibility to manually enable or disable the dashboard, or even change the route name, by modifying the configuration file located at **config/orange_sms_tunisia.php** or using .env.

```php
ORANGE_SMS_TUNISIA_DASHBOARD_ENABLE=true
ORANGE_SMS_TUNISIA_DASHBOARD_ROUTE=orange-sms-tunisia-dashboard
```

Feel free to customize the configuration according to your specific requirements.
Expand Down
4 changes: 2 additions & 2 deletions src/config/config.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@

'dashboard' => [

'enable' => env('ORANGE_SMS_TUNISIA_DASHBOARD_ENABLE', !app()->isProduction()),
'enable' => env('ORANGE_SMS_TUNISIA_DASHBOARD_ENABLE', true),

'route' => 'orange-sms-tunisia-dashboard',
'route' => env('ORANGE_SMS_TUNISIA_DASHBOARD_ROUTE', 'orange-sms-tunisia-dashboard'),

'middleware' => ['web']

Expand Down

0 comments on commit 7616c96

Please sign in to comment.