File tree Expand file tree Collapse file tree 2 files changed +7
-2
lines changed Expand file tree Collapse file tree 2 files changed +7
-2
lines changed Original file line number Diff line number Diff line change 14
14
],
15
15
16
16
'group ' => 'Debugger ' ,
17
+
18
+ 'url ' => [
19
+ 'horizon ' => env ('HORIZON_PATH ' , 'horizon ' ),
20
+ 'telescope ' => env ('TELESCOPE_PATH ' , 'telescope ' ),
21
+ ],
17
22
];
Original file line number Diff line number Diff line change @@ -20,7 +20,7 @@ public function telescope(): NavigationItem
20
20
return NavigationItem::make ()
21
21
->visible ($ this ->authorized (config ('filament-debugger.permissions.telescope ' )))
22
22
->group (config ('filament-debugger.group ' ))
23
- ->url (url: url (' telescope ' ), shouldOpenInNewTab: true )
23
+ ->url (url: url ()-> to ( config ( ' filament-debugger.url. telescope ') ), shouldOpenInNewTab: true )
24
24
->icon ('heroicon-o-sparkles ' )
25
25
->label ('Telescope ' );
26
26
}
@@ -31,7 +31,7 @@ public function horizon(): NavigationItem
31
31
->visible ($ this ->authorized (config ('filament-debugger.permissions.horizon ' )))
32
32
->group (config ('filament-debugger.group ' ))
33
33
->icon ('heroicon-o-globe-europe-africa ' )
34
- ->url (url: url (' horizon ' ), shouldOpenInNewTab: true )
34
+ ->url (url: url ()-> to ( config ( ' filament-debugger.url. horizon ') ), shouldOpenInNewTab: true )
35
35
->label ('Horizon ' );
36
36
}
37
37
}
You can’t perform that action at this time.
0 commit comments