Skip to content

Commit

Permalink
Hotfixed strange bug where sometimes the
Browse files Browse the repository at this point in the history
plugin would download all the project files
for no reason at random.
  • Loading branch information
ZeroByter committed Mar 2, 2019
1 parent d520ff8 commit 798bd6d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions server.js
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ function StartServer(){
})

//user wants to download files from the webkit to our working station
socket.on("downLoadDir", function(data){
/*socket.on("downLoadDir", function(data){
if(!madeAllowDownloadDecision){
madeAllowDownloadDecision = true;
allowDownload = true;
Expand All @@ -177,6 +177,6 @@ function StartServer(){
fs.appendFileSync("./" + key, val, {flag: "w"})
});
}
})
})*/
})
}

0 comments on commit 798bd6d

Please sign in to comment.