No longer serialize binary blobs as data URLs

This commit is contained in:
Zef Hemel
2023-05-26 14:04:32 +02:00
parent 25c789538d
commit 1a1b942f92
10 changed files with 34 additions and 94 deletions
+1 -2
View File
@@ -57,8 +57,7 @@ export async function updatePlugsCommand() {
// console.log("Writing", `_plug/${plugName}.plug.js`, workerCode);
await space.writeAttachment(
`_plug/${plugName}.plug.js`,
"utf8",
workerCode,
new TextEncoder().encode(workerCode),
);
}