Register telescope for correct local environment.
This commit is contained in:
@@ -11,7 +11,7 @@ class AppServiceProvider extends ServiceProvider
|
|||||||
*/
|
*/
|
||||||
public function register(): void
|
public function register(): void
|
||||||
{
|
{
|
||||||
if ($this->app->environment() !== 'local') {
|
if ($this->app->environment() === 'local') {
|
||||||
$this->app->register(\Laravel\Telescope\TelescopeServiceProvider::class);
|
$this->app->register(\Laravel\Telescope\TelescopeServiceProvider::class);
|
||||||
$this->app->register(TelescopeServiceProvider::class);
|
$this->app->register(TelescopeServiceProvider::class);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user