Register telescope for correct local environment.

This commit is contained in:
2024-11-25 16:34:43 +01:00
parent 0f691afc7f
commit 5ad45c6260

View File

@@ -11,7 +11,7 @@ class AppServiceProvider extends ServiceProvider
*/
public function register(): void
{
if ($this->app->environment() !== 'local') {
if ($this->app->environment() === 'local') {
$this->app->register(\Laravel\Telescope\TelescopeServiceProvider::class);
$this->app->register(TelescopeServiceProvider::class);
}