Answers for "run laravel serve in https"

PHP
2

laravel ever over https

//Place this in the AppServiceProvider in the boot() method
if($this->app->environment('production')) {
    URL::forceScheme('https');
}
Posted by: Guest on January-05-2022
1

force https redirection laravel

// app/Providers/AppServiceProvider.php
URL::forceScheme('https');
Posted by: Guest on June-21-2021

Browse Popular Code Answers by Language