diff --git a/runtime/src/ceramic/Files.hx b/runtime/src/ceramic/Files.hx index 955dc5e15..1601b2d99 100644 --- a/runtime/src/ceramic/Files.hx +++ b/runtime/src/ceramic/Files.hx @@ -460,7 +460,7 @@ class Files { return null; } else { - var data:UInt8Array = fs.readFileSync(path, 'binary'); + var data:UInt8Array = fs.readFileSync(path); return data != null ? data.toBytes() : null; }