diff --git a/src/ui.tsx b/src/ui.tsx index f724669..bf2fff1 100644 --- a/src/ui.tsx +++ b/src/ui.tsx @@ -189,7 +189,7 @@ class Driver { fetch("/plot", { method: "POST", headers: { "Content-Type": "application/json" }, - body: JSON.stringify(plan.serialize()), + body: new Blob([ JSON.stringify(plan.serialize()) ], { type: 'application/json' }) }); }