I’m having issues loading up pictures on my Heroku app.
It’s driving me nuts.
I have a page with 5 pics on it. It loads up perfectly fine on my local host, but when I try opening up the app on Heroku, only 2 of the 5 images load correctly.
For the rest, I get a 404 error saying RoutingError. I’ve checked my code over and over again; checked that the files are in public/assets; checked that the file names are being properly referenced in both places but still getting this error.
What could be the problem????
Thanks,
Faisal
Alright, I figured it out. I deleted the pics from public/assets, committed the code, then added the pics back and committed again, and pushed the code.
Note: actually found this fix 2 mins after posting the question, but SO wouldn’t let me post the answer until now.