Fix upload attempt to undefined again
This commit is contained in:
parent
c58f3b1c9b
commit
218943c92f
@ -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"
|
||||
|
Loading…
Reference in New Issue
Block a user