There's a hidden mix method to (re)set the public path:
mix.setPublicPath('path/to/public');
Hi!, i'm trying to deploy my L5.5 app on a shared server but, even though i apply the recipe for this task (copying all folders except public and changing the bootstrap file to recognize the new folders structure)
I have some issues, mix() and Storage::url() functions they do not work as I assumed. mix fails with error manifest not found and the another with 404. In both cases the path retrieved is wrong although my public_path is, by example, /home/my_folder/public_html/my_laravel_public_folder. In this cases the url is http://my-site.com/app.js in mix case and http://my-site.com/storage/my-pics-folder/hash.png
Some help!
Regards in advance
Please or to participate in this conversation.