File tree Expand file tree Collapse file tree 2 files changed +10
-0
lines changed Expand file tree Collapse file tree 2 files changed +10
-0
lines changed Original file line number Diff line number Diff line change 180
180
*/
181
181
'route_prefix ' => '_debugbar ' ,
182
182
183
+ /*
184
+ |--------------------------------------------------------------------------
185
+ | DebugBar route domain
186
+ |--------------------------------------------------------------------------
187
+ |
188
+ | By default DebugBar route served from the same domain that request served.
189
+ | To override default domain, specify it as a non-empty value.
190
+ */
191
+ 'route_domain ' => null ,
183
192
];
Original file line number Diff line number Diff line change @@ -77,6 +77,7 @@ public function boot()
77
77
$ routeConfig = [
78
78
'namespace ' => 'Barryvdh\Debugbar\Controllers ' ,
79
79
'prefix ' => $ this ->app ['config ' ]->get ('debugbar.route_prefix ' ),
80
+ 'domain ' => $ this ->app ['config ' ]->get ('debugbar.route_domain ' ),
80
81
];
81
82
82
83
$ this ->getRouter ()->group ($ routeConfig , function ($ router ) {
You can’t perform that action at this time.
0 commit comments