You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
views/app/Providers/AppServiceProvider.php

25 lines
441 B

<?php
namespace App\Providers;
use Illuminate\Support\ServiceProvider;
class AppServiceProvider extends ServiceProvider
{
/**
* Register any application services.
*/
public function register(): void
{
if($this->app->environment('production')) {
\URL::forceScheme('https');
}
}
/**
* Bootstrap any application services.
*/
public function boot(): void
{
}
}