2 years ago

Problem with http and https

Posted 2 years ago by Ashraam

I everyone,

I'm working on my app on vagrant and it's working nicely, I push it on prod (with HTTPS url) and all my emails url doesn't work anymore.


let's say my APP_URL in the .env is

all my links and assets in the mail are


I grad the mails with mailtrap right now.

If I look to the source: the url is converted to the asset is converted to

If I copy paste the url or assets in my browser it doesn't work because https redirect like this url: http://www.domain.comtest asset: http://www.domain.comimages/test.png

It removes the first slash after the domain name...

How can I solve this problem ?

Thank you !

Please sign in or create an account to participate in this conversation.