-mean
-----server
--------- config
-------------config.js
-------- controllers
-------- data
-------- images <---I saved images here using "multer "package
I added this line in mean/server/config/config,js
- app.use('images', express.static(path.join(__dirname,'/../images')))
When I try to access a static image from the browser=>localhost:4040/images
it gives me 401 Unauthorized error.
I don't know why it does not work.
Could you please able to give me an advice?