Good morning. It turns out that I have a project in Laravel 5.4 which already works correctly if I run it both on my computer and in the local network. The problem arises when I try to run from another network (for example, from my cell phone) and do not load the scripts, css or images, it looks like this:
I have researched and followed the steps of this link without any success. What can be the cause and how to solve it?
After reviewing, I realized that the Laravel routes are changing my domain name to the server's IP, which is not allowing resources to be loaded (example: the route appears as http://11.11.120.120/Proyecto/public/css/app.css
instead of http://mi.dominio/Proyecto/public/css/app.css
). I have already configured the .env and config / app.php files with the domain name and it continues to throw the route with the IP.