📜  laravel ever over https - PHP 代码示例

📅  最后修改于: 2022-03-11 14:53:37.345000             🧑  作者: Mango

代码示例1
//Place this in the AppServiceProvider in the boot() method
if($this->app->environment('production')) {
    \URL::forceScheme('https');
}