use arraybuffer instead of uint8array
This commit is contained in:
+1
-1
@@ -141,7 +141,7 @@ export const uploadToRemote = async (
|
||||
let localContent = undefined;
|
||||
if (uploadRaw) {
|
||||
if (typeof rawContent === "string") {
|
||||
localContent = new TextEncoder().encode(rawContent);
|
||||
localContent = new TextEncoder().encode(rawContent).buffer;
|
||||
} else {
|
||||
localContent = rawContent;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user