Skip to content

Commit dfeee24

Browse files
committed
fix #53 - make sure we boot our service provider on local envs
1 parent 26deda1 commit dfeee24

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/BoostServiceProvider.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ public function register(): void
5555

5656
public function boot(Router $router): void
5757
{
58-
if (! app()->environment('local', 'testing')) {
58+
if (config('app.debug', false) === false) {
5959
return;
6060
}
6161

0 commit comments

Comments
 (0)