aboutsummaryrefslogtreecommitdiffstats
path: root/extension
diff options
context:
space:
mode:
authorOmar Rizwan <omar.rizwan@gmail.com>2020-10-22 06:47:00 -0700
committerOmar Rizwan <omar.rizwan@gmail.com>2020-10-22 06:47:00 -0700
commit8bbcaf9343f7ddf835357acfa97fa9c5a13ba9ad (patch)
tree801bc9a0cde8600cf348d1e259dc0163c95eee2e /extension
parent64bd1f3948e2ce57a1fb26196019855727290465 (diff)
postMessage back from browser. Kill other instances of fs.
Currently stuck not getting response to a getattr...
Diffstat (limited to 'extension')
-rw-r--r--extension/background.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/extension/background.js b/extension/background.js
index bbeeb2c..b0ce713 100644
--- a/extension/background.js
+++ b/extension/background.js
@@ -371,7 +371,7 @@ async function onMessage(req) {
/* console.timeEnd(req.op + ':' + req.path);*/
log('resp', response);
- /* ws.send(JSON.stringify(response));*/
+ port.postMessage(response);
};
function tryConnect() {