Answers for "laravel ever over https"

PHP
1

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

Browse Popular Code Answers by Language