简体   繁体   中英

Laravel images doesnt show up on live server

I cant access my images when I run on my live server but it work on local. I have doubled check and my url is right but the images still doesnt show up

mysite.com/public/vendor/Beautymail/assets/images/sunny/logo.png

%PUBLIC%/vendor/Beautymail/assets/images/sunny/logo.png

I only get a: Sorry, the page you are looking for could not be found.

*I am using Laravel Forge with DO

Maybe it because Windows isn't case sensitivity but Linux is.

Try to change all the directories and files names to lowercase letters and also in your url, so that your new url will be: (notice that all letters are lowercase):

mysite.com/vendor/beautymail/assets/images/sunny/logo.png

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM