diff --git a/lib/browser/rpc.js b/lib/browser/rpc.js index 88fc0d94..427df21e 100644 --- a/lib/browser/rpc.js +++ b/lib/browser/rpc.js @@ -180,7 +180,7 @@ function makeRequest(url, data) { if (global.__debug__) { let request = global.__debug__.require('sync-request'); let response = request('POST', url, { - body: Buffer.from(JSON.stringify(data)), + body: JSON.stringify(data), headers: { "Content-Type": "text/plain;charset=UTF-8" }