Skip to content

Commit 18adc50

Browse files
committed
removing up path from nightwatch monitoring
1 parent 651ae7f commit 18adc50

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

app/Providers/AppServiceProvider.php

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,10 @@
44

55
use App\Logic\LicenceVerification;
66
use App\Logic\NetifydLicenseRepository;
7+
use Illuminate\Foundation\Events\DiagnosingHealth;
8+
use Illuminate\Support\Facades\Event;
79
use Illuminate\Support\ServiceProvider;
10+
use Laravel\Nightwatch\Facades\Nightwatch;
811

912
class AppServiceProvider extends ServiceProvider
1013
{
@@ -26,6 +29,8 @@ public function register(): void
2629
*/
2730
public function boot(): void
2831
{
29-
//
32+
Event::listen(function (DiagnosingHealth $event) {
33+
Nightwatch::dontSample();
34+
});
3035
}
3136
}

0 commit comments

Comments
 (0)