From 00979f31262ee8e8ef798a3871daa039c0bd9867 Mon Sep 17 00:00:00 2001 From: lightbulblighter <59720715+lightbulblighter@users.noreply.github.com> Date: Fri, 25 Mar 2022 20:43:32 -0700 Subject: [PATCH 1/2] Update Telescope.php --- src/Telescope.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Telescope.php b/src/Telescope.php index 81869e622..14c70a6b6 100644 --- a/src/Telescope.php +++ b/src/Telescope.php @@ -232,7 +232,7 @@ protected static function requestIsToApprovedUri($request) collect([ 'telescope-api*', 'vendor/telescope*', - 'horizon*', + (config('horizon.path') ?? 'horizon') . '*', 'vendor/horizon*', ]) ->merge(config('telescope.ignore_paths', [])) From 61f1bb900a448b324e2e03f40e5accc13a74e5e4 Mon Sep 17 00:00:00 2001 From: lightbulblighter <59720715+lightbulblighter@users.noreply.github.com> Date: Fri, 25 Mar 2022 20:46:16 -0700 Subject: [PATCH 2/2] Apply StyleCI fix --- src/Telescope.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Telescope.php b/src/Telescope.php index 14c70a6b6..4962b0e50 100644 --- a/src/Telescope.php +++ b/src/Telescope.php @@ -232,7 +232,7 @@ protected static function requestIsToApprovedUri($request) collect([ 'telescope-api*', 'vendor/telescope*', - (config('horizon.path') ?? 'horizon') . '*', + (config('horizon.path') ?? 'horizon').'*', 'vendor/horizon*', ]) ->merge(config('telescope.ignore_paths', []))