Fix upload attempt to undefined again

This commit is contained in:
Kevin Froman 2020-11-09 00:29:15 +00:00
parent 7c3a9fb6e9
commit c58f3b1c9b

View File

@ -49,7 +49,7 @@ async function doUpload(data){
return return
} }
const curNode = getCurrentNode() const curNode = getCurrentNode()
if (typeof curNode == "undefined"){ if (typeof curNode == "undefined" || curNode === "undefined.onion"){
setTimeout(function(){ setTimeout(function(){
doUpload(data) doUpload(data)
}, 1000) }, 1000)