Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

laravel ever over https

//Place this in the AppServiceProvider in the boot() method
if($this->app->environment('production')) {
    URL::forceScheme('https');
}
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #laravel #https
ADD COMMENT
Topic
Name
2+2 =