mercredi 23 décembre 2020

How to change the name of public_path in my laravel app (which had been deployed by cpanel)?

I have public_path in my app, /home/user/public_html but I wanna change it into my app domain, www.mydomain.com, so when I upload files, those files will be accessed by URL: www.mydomain.com/File/Uploaded_Photo.jpg instead of /home/user/public_html/File/Uploaded_Photo.jpg

Could anyone help and teach me? Thanks before.




Aucun commentaire:

Enregistrer un commentaire