How to add https to the ranting?


Warning: count(): Parameter must be an array or an object that implements Countable in /home/styllloz/public_html/qa-theme/donut-theme/qa-donut-layer.php on line 274
0 like 0 dislike
10 views
Prescribed in .env on production APP_URL https
But when forming routes by using the route('name') laravel generates URLS with http, when the whole website to https.

The idea is that it should generate a normal url, maybe somewhere something is not taken into account?
Or maybe to rewrite the function route()?
by | 10 views

1 Answer

0 like 0 dislike
class AppServiceProvider extends ServiceProvider { public function boot() { \\URL::forceScheme('https');
by

Related questions

0 like 0 dislike
1 answer
0 like 0 dislike
2 answers
asked May 23, 2019 by adam_carraway
0 like 0 dislike
1 answer
0 like 0 dislike
1 answer
0 like 0 dislike
1 answer
110,608 questions
257,186 answers
0 comments
35,405 users