React Vite App Images won't show after deploy

Hi everyone,

I built my first react app on vite and everything was working fine on my local environment; however, after deploying to Netlify all of the images disappeared.

I tried to find a solution in other threads and read that I am supposed to move my image folder into the public folder, so that’s what I did. I changed the path too and again everything was working fine on the local environment, but not on deploy.

Does anyone know what might be the issue?

GitHub repo: GitHub - carlawlls/react-airbnb-clone
Netlify link: https://venerable-cannoli-affc8c.netlify.app/

Thank you so much in advance!

Hi @carlawlls,

Images seem to be working on your site. Has this been resolved?

On a side note, I’m going to have to ask you to take this site down as soon as possible. It seems to be a clone of Airbnb website. We do not allow copyrighted content to be hosted on Netlify, and a single complaint against any of your sites would result in entire account being deactivated.