What is the correct code format to establish the static server from nodejs
This is my current code to declare the static server and won't work
app.use(express.static( './src/uploads'));
My URL that used to be fetch by Vuejs from nodejs folder
http://localhost:5000/src/uploads/100-cities-with-the-most-beautiful-women-in-the-world.jpg
As you can see on the image this is the folder structure
-ecommerce-backend
-src
-uploads

http://localhost:5000/100-cities-with-the-most-beautiful-women-in-the-world.jpgapp.jslocated insidesrcfolder or outside? If it's inside path must be wrong.