|
|
@@ -3,6 +3,7 @@
|
|
|
namespace App\Providers;
|
|
|
|
|
|
use Illuminate\Pagination\Paginator;
|
|
|
+use Illuminate\Support\Facades\URL;
|
|
|
use Illuminate\Support\ServiceProvider;
|
|
|
|
|
|
class AppServiceProvider extends ServiceProvider
|
|
|
@@ -21,5 +22,8 @@ class AppServiceProvider extends ServiceProvider
|
|
|
public function boot(): void
|
|
|
{
|
|
|
Paginator::useBootstrapFive();
|
|
|
+ if(app()->isProduction()) {
|
|
|
+ URL::forceScheme('https');
|
|
|
+ }
|
|
|
}
|
|
|
}
|