Skip to content

Commit

Permalink
Fix issue if paths have leading slash.
Browse files Browse the repository at this point in the history
  • Loading branch information
Michael Rook committed Aug 4, 2021
1 parent b7c8990 commit 16a66e7
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/ServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,16 +17,16 @@ public function __construct($app)
$this->laravelPackageProviders = [
\App\Providers\HorizonServiceProvider::class => [
'name' => 'horizon',
'url' => '/'.config('horizon.path'),
'url' => '/'.trim(config('horizon.path'), '/'),
],
\App\Providers\NovaServiceProvider::class => [
'name' => 'nova',
'url' => '/'.config('nova.path'),
'url' => '/'.trim(config('nova.path'), '/'),
],
// 'spark',
\App\Providers\TelescopeServiceProvider::class => [
'name' => 'telescope',
'url' => '/'.config('telescope.path'),
'url' => '/'.trim(config('telescope.path'), '/'),
],
];

Expand Down

0 comments on commit 16a66e7

Please sign in to comment.