aboutsummaryrefslogtreecommitdiffstats
path: root/extension
diff options
context:
space:
mode:
Diffstat (limited to 'extension')
-rw-r--r--extension/background.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/extension/background.js b/extension/background.js
index 03cba4b..759bd0d 100644
--- a/extension/background.js
+++ b/extension/background.js
@@ -359,6 +359,7 @@ function findRoute(path) {
let port;
async function onMessage(req) {
+ if (req.buf) req.buf = atob(req.buf);
console.log('req', req);
let response = { op: req.op, error: unix.EIO };