Giorgiovski
5 months ago
779
10
Laravel

Image path issues at first login

Posted 5 months ago by Giorgiovski

First, I have this problem since when I moved from XAMPP to Homestead.

When I create an account I am redirected to the profile page. The problem is that the avatar path is not loaded with the image name but only project.test/storage/user_avatars/ instead of project.test/storage/user_avatars/AVATAR_NAME.jpg .

https://imgur.com/nAFM4Lz

If I refresh the page again, after first login, it takes the right path. Why does it not work for the first login? There are no logic. :) Thank you.

Please sign in or create an account to participate in this conversation.