diff --git a/stubs/AppServiceProvider.php b/stubs/AppServiceProvider.php index 6da7312..9185db3 100644 --- a/stubs/AppServiceProvider.php +++ b/stubs/AppServiceProvider.php @@ -17,7 +17,9 @@ public function boot(): void Number::useLocale('en'); URL::defaults(['domain' => '']); - URL::forceScheme('https'); + if (!$this->app->isLocal()) { + URL::forceScheme('https'); + } Model::unguard(); } }