Fix telescope not availible on prod
Some checks failed
Push image to registry / build-image (push) Has been cancelled

This commit is contained in:
2025-02-19 17:38:42 +01:00
parent 61e55f960e
commit a05e5e224d
2 changed files with 4 additions and 6 deletions

View File

@@ -14,7 +14,7 @@ class TelescopeServiceProvider extends TelescopeApplicationServiceProvider
*/ */
public function register(): void public function register(): void
{ {
// Telescope::night(); Telescope::night();
$this->hideSensitiveRequestDetails(); $this->hideSensitiveRequestDetails();
@@ -55,10 +55,8 @@ class TelescopeServiceProvider extends TelescopeApplicationServiceProvider
*/ */
protected function gate(): void protected function gate(): void
{ {
Gate::define('viewTelescope', function ($user) { Gate::define('viewTelescope', function () {
return in_array($user->email, [ return true;
//
]);
}); });
} }
} }

View File

@@ -94,7 +94,7 @@ return [
'middleware' => [ 'middleware' => [
'web', 'web',
Authorize::class, // Authorize::class,
], ],
/* /*