Here is my code for image resize upload.
(nodjs chat program)
but I have problem windows10/chrom84 , ie11 and edge brower.(desktop)
devtools says "net::ERR_CONTENT_LENGTH_MISMATCH 200 (OK)"
images file resize o.k and file saves o.k
but in browser shows broken images, so I refresh the browser, then show images.
small images file upload are o.k but large images files sometimes have problem (over 1,2 ~10mb)
so, I removed line where sharp resizing code. It's all right.
Here is my code for image resize upload. (nodjs chat program) but I have problem windows10/chrom84 , ie11 and edge brower.(desktop) devtools says "net::ERR_CONTENT_LENGTH_MISMATCH 200 (OK)" images file resize o.k and file saves o.k but in browser shows broken images, so I refresh the browser, then show images. small images file upload are o.k but large images files sometimes have problem (over 1,2 ~10mb) so, I removed line where sharp resizing code. It's all right.
dose anyone have idea?
const imageUpload = async(data) => { const { IMAGEPATH } = require('../path');
};