Sep 18, 2024
0
Level 1
ServiceProvider Order - forceScheme not working
Hi
I try to use amidesfahani/filament-tinyeditor. If I use local files, the Plugin use http instead of https.
In my AppServiceProvider I use
public function boot(): void
{
URL::forceScheme('https');
$this->bootAuth();
$this->bootEvent();
$this->bootRoute();
}
With app('url')I see that forceScheme is missing in TinyeditorServiceProvider. Maybe the TinyeditorServiceProvider is loading before AppServiceProvider?
How can I fix this?
Please or to participate in this conversation.