Fix telescope not availible on prod
Some checks failed
Push image to registry / build-image (push) Has been cancelled
Some checks failed
Push image to registry / build-image (push) Has been cancelled
This commit is contained in:
@ -14,7 +14,7 @@ class TelescopeServiceProvider extends TelescopeApplicationServiceProvider
|
||||
*/
|
||||
public function register(): void
|
||||
{
|
||||
// Telescope::night();
|
||||
Telescope::night();
|
||||
|
||||
$this->hideSensitiveRequestDetails();
|
||||
|
||||
@ -55,10 +55,8 @@ class TelescopeServiceProvider extends TelescopeApplicationServiceProvider
|
||||
*/
|
||||
protected function gate(): void
|
||||
{
|
||||
Gate::define('viewTelescope', function ($user) {
|
||||
return in_array($user->email, [
|
||||
//
|
||||
]);
|
||||
Gate::define('viewTelescope', function () {
|
||||
return true;
|
||||
});
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user