lavary / laravel-menu

A quick way to create menus in Laravel
MIT License
1.16k stars 233 forks source link

BUG active link. Forced https #294

Closed ghost closed 2 years ago

ghost commented 2 years ago

When forced https is added, css active classes on links are no longer added.

app/Providers/AppServiceProvider.php public function boot() { \Illuminate\Support\Facades\URL::forceScheme('https'); }

dustingraham commented 2 years ago

I have not validated this error, but if someone wants to validate and PR, I can review it.

ghost commented 2 years ago

I solved this by setting up the: \Illuminate\Support\Facades\URL rule in the provider::force Scheme('https');

dustingraham commented 2 years ago

I don't understand what you mean by that. Should we close this issue then if it is solved? Or are you saying that's the solution that someone needs to write a PR for?

Thanks.

ghost commented 2 years ago

I found this solution after I wrote the question, yes, you can close it, thank you!