webiny-js icon indicating copy to clipboard operation
webiny-js copied to clipboard

fix: remove the utf8 encoding parameter from the call to fs.readFile

Open chiizzy1 opened this issue 3 years ago • 0 comments

Related Issue

#2629

Changes

I remove the utf8 encoding parameter from the call to fs.readFileSync which caused the static non-text assets (images, videos) to be broken/inaccessible.

How Has This Been Tested?

Manually.

chiizzy1 avatar Sep 20 '22 22:09 chiizzy1