Skip to content

Commit

Permalink
Use env to set domain and path (#1030)
Browse files Browse the repository at this point in the history
Use environment variables to set horizon's domain or path. This follows the same pattern used in telescope.
  • Loading branch information
alexjustesen authored Jun 4, 2021
1 parent 8e33f72 commit 2112aed
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions config/horizon.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
|
*/

'domain' => null,
'domain' => env('HORIZON_DOMAIN', null),

/*
|--------------------------------------------------------------------------
Expand All @@ -28,7 +28,7 @@
|
*/

'path' => 'horizon',
'path' => env('HORIZON_PATH', 'horizon'),

/*
|--------------------------------------------------------------------------
Expand Down

0 comments on commit 2112aed

Please sign in to comment.