From 48b63f950f04eaf9538c37a3f19c2541dc263af4 Mon Sep 17 00:00:00 2001 From: peaklabs-dev <122374094+peaklabs-dev@users.noreply.github.com> Date: Tue, 24 Feb 2026 16:27:04 +0100 Subject: [PATCH] chore(config): update configs to the latest skeleton --- config/database.php | 2 +- config/filesystems.php | 2 +- config/horizon.php | 24 ++++++++++++++++++++++++ config/session.php | 2 +- 4 files changed, 27 insertions(+), 3 deletions(-) diff --git a/config/database.php b/config/database.php index e34a36a5d..7f978d8e6 100644 --- a/config/database.php +++ b/config/database.php @@ -57,7 +57,7 @@ return [ 'prefix' => '', 'prefix_indexes' => true, 'search_path' => 'public', - 'sslmode' => 'prefer', + 'sslmode' => env('DB_SSLMODE', 'prefer'), ], 'old_pgsql' => [ diff --git a/config/filesystems.php b/config/filesystems.php index d018ba5a0..8ccc20384 100644 --- a/config/filesystems.php +++ b/config/filesystems.php @@ -41,7 +41,7 @@ return [ 'public' => [ 'driver' => 'local', 'root' => storage_path('app/public'), - 'url' => env('APP_URL').'/storage', + 'url' => mb_rtrim((string) env('APP_URL', 'http://localhost'), '/').'/storage', 'visibility' => 'public', 'throw' => false, 'report' => false, diff --git a/config/horizon.php b/config/horizon.php index cc75f6a84..3ac806581 100644 --- a/config/horizon.php +++ b/config/horizon.php @@ -282,4 +282,28 @@ return [ ] : []), ], ], + + /* + |-------------------------------------------------------------------------- + | File Watcher Configuration + |-------------------------------------------------------------------------- + | + | The following list of directories and files will be watched when using + | the `horizon:listen` command. Whenever any directories or files are + | changed, Horizon will automatically restart to apply all changes. + | + */ + + 'watch' => [ + 'app', + 'bootstrap', + 'config/**/*.php', + 'database/**/*.php', + 'public/**/*.php', + 'resources/**/*.php', + 'routes', + 'composer.lock', + 'composer.json', + '.env', + ], ]; diff --git a/config/session.php b/config/session.php index 9decb6168..07306d2d2 100644 --- a/config/session.php +++ b/config/session.php @@ -127,7 +127,7 @@ return [ | | This value determines the domain and subdomains the session cookie is | available to. By default, the cookie will be available to the root - | domain and all subdomains. Typically, this shouldn't be changed. + | domain without subdomains. Typically, this shouldn't be changed. | */