Hello! I deploy my laravel app on vercel but I'm struggling with routes config setup in vercel.json. The problem is that I can't access media files in my laravel public folder but the app is working fine. I tried many options but most of them didn't work.
In vercel settings I override output directory to "public".
This ensures that Laravel generates the correct URLs for your assets, taking into account the base path of your application.
Let us know how you get on!
Thanks for your reply! I tested your code and I was able to reach media files but for some reason when I send a form in my app it does not respond but a question mark is added to the url. But I managed to find a solution anyway!