Skip to content

Commit

Permalink
Read from Horizon config when ignoring requests (#1211)
Browse files Browse the repository at this point in the history
* Update Telescope.php

* Apply StyleCI fix
  • Loading branch information
rjindael authored Mar 26, 2022
1 parent b05556c commit 2c61ad4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Telescope.php
Original file line number Diff line number Diff line change
Expand Up @@ -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', []))
Expand Down

0 comments on commit 2c61ad4

Please sign in to comment.