NithinSGowda/pass-cors

Possible fix for multiple images.

mitko2703 opened this issue · 1 comments

I had problems when using multiple images with proxy and had the following error
"ENOENT: no such file or directory, unlink '/path_to_image\image.jpg..."
It was caused by the filename variable.
The fix was declaring it as a constant i.e. const filename=\\${makeid(10)}.${ext[ext.length - 1]}
Not sure if it was intended to work that way.

I have same problem