1When changing from http to https, it's possible to get the problem Mixed content issue - Content must be served as HTTPS.
2
3So, first modify APP_URL in the .env file, if we use the assets helper, this shouldn't give any problem with the URL.
4
5APP_URL=https://mydomain.com
6
7Finally, add the following to the beginning of api.php or web.php:
8
9if (App::environment('production')) {
10 URL::forceScheme('https');
11}