From 218943c92fbff1eec12c8d616e33633f55e39af7 Mon Sep 17 00:00:00 2001 From: Kevin Froman Date: Mon, 9 Nov 2020 00:35:41 +0000 Subject: [PATCH] Fix upload attempt to undefined again --- js/message-creator.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/message-creator.js b/js/message-creator.js index 59d8729..26f1369 100644 --- a/js/message-creator.js +++ b/js/message-creator.js @@ -61,7 +61,7 @@ async function doUpload(data){ console.debug("upload timed out") doUpload(data) }, 30000) - let upload = await fetch('http://' + getCurrentNode() + '.onion/upload', { + let upload = await fetch('http://' + curNode + '.onion/upload', { method: 'POST', headers: { "content-type": "application/octet-stream"