File: /var/www/html/dashboard.orbiwheels.com/app/Providers/AppServiceProvider.php
<?php
namespace App\Providers;
use Illuminate\Support\Facades\Schema;
use Illuminate\Support\Facades\URL;
use Illuminate\Support\ServiceProvider;
class AppServiceProvider extends ServiceProvider
{
/**
* The path to the "home" route for your application.
*
* This is used by Laravel authentication to redirect users after login.
*
* @var string
*/
public const HOME = '/admin/home';
public const TRANSPORTER_HOME = '/';
/**
* Register any application services.
*/
public function register(): void
{
//
}
/**
* Bootstrap any application services.
*/
public function boot(): void
{
//
Schema::defaultStringLength(191);
if (app()->environment('production')) {
URL::forceScheme('https');
}
if (function_exists('loadSmtpSettingsFromDb')) {
loadSmtpSettingsFromDb();
}
}
}