'Sharing laravel 9 with ngrok cause wrong urls to be generated
I am building a Laravel 9 project using docker desktop on windows.
So I was trying to share my laravel project with ngrok however my css and images are not loading since laravel generates asset urls with the http prefix when I am accessing a https link given by the ngrok.
I am running my laravel 9 project with
sail up -d and my ngrok with ngrok http 80.
I am able to access the site with the ngrok link but as mentioned no css and images are loaded since they are being access with an http link.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
