Fix upload attempt to undefined again

This commit is contained in:
Kevin Froman 2020-11-09 00:35:41 +00:00
parent c58f3b1c9b
commit 218943c92f

View File

@ -61,7 +61,7 @@ async function doUpload(data){
console.debug("upload timed out") console.debug("upload timed out")
doUpload(data) doUpload(data)
}, 30000) }, 30000)
let upload = await fetch('http://' + getCurrentNode() + '.onion/upload', { let upload = await fetch('http://' + curNode + '.onion/upload', {
method: 'POST', method: 'POST',
headers: { headers: {
"content-type": "application/octet-stream" "content-type": "application/octet-stream"