File: //var/www/html/orbidirectory.com/app/Providers/AppServiceProvider.php
<?php
namespace App\Providers;
use App\Models\Settings;
use Illuminate\Support\ServiceProvider;
use Illuminate\Support\Facades\Schema;
class AppServiceProvider extends ServiceProvider
{
/**
* Register any application services.
*/
public function register(): void
{
//
}
/**
* Bootstrap any application services.
*/
public function boot(): void
{
$this->app['request']->server->set('HTTPS', true);
Schema::defaultStringLength(191); // Adjust the length as needed
}
}