I am building a website and along the way I used imgur to store the image that i was using in it but I decided to created a folder in my app to store them. Since I'm not using imgur anymore, i needed to change my path to find the image and that's where the problem appeared, I can't find the image. The structure looks like that:
webapp_folder |_node_modules |_image_folder |_public_folder |_views |_partials_folder |_main.js |_app.js |_package.json
main.js, I use one of the image in image_folder and the path to the image looks like:
src="" but that's where I got the 404 error.
I've tried putting the image in the same folder that the main.js so the path would look like
src="" but still getting this error.
So i guess it's not a path's problem but I've no idea what it could be.
Hope I could make it clear! I'm using node.js and express.