public static function forceSchema($schema) { \Illuminate\Routing\UrlGenerator::forceSchema($schema); }
/** * Bootstrap any application services. * * @return void */ public function boot() { if ($this->app->environment('production')) { \URL::forceSchema('https'); } }