@webguy23 When you with Sail Up you have make build and route path acording to point to docker itself. like in official Document Suggestion you have to do this step. https://laravel.com/docs/10.x/sail#executing-node-npm-commands let me know if you still exists issue with urls difference in both version.
Feb 29, 2024
4
Level 1
Sail doesn't serve some assets but php serve works fine
I have a Laravel 10 app with some assets in public directory. When I run php serve everything works as expected, all images and JS files are loaded. But when I run sail up, website works but most of the images and JS files from the same public/img and public/js directories aren't loaded.
For example, /img/logo.svg is loaded but /img/map.png is not. In Chrome > Network it shows "Failed to load response data. No data found for resource with with given identifier".
Any ideas on why is this happening and how can I fix this?
Please or to participate in this conversation.