From 2112aed5dfaf8fa18b530701ab80b21b53720de3 Mon Sep 17 00:00:00 2001 From: Alex Justesen Date: Fri, 4 Jun 2021 17:57:30 -0400 Subject: [PATCH] Use env to set domain and path (#1030) Use environment variables to set horizon's domain or path. This follows the same pattern used in telescope. --- config/horizon.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/config/horizon.php b/config/horizon.php index 0e36957b..a4a0f9eb 100644 --- a/config/horizon.php +++ b/config/horizon.php @@ -15,7 +15,7 @@ | */ - 'domain' => null, + 'domain' => env('HORIZON_DOMAIN', null), /* |-------------------------------------------------------------------------- @@ -28,7 +28,7 @@ | */ - 'path' => 'horizon', + 'path' => env('HORIZON_PATH', 'horizon'), /* |--------------------------------------------------------------------------