Skip to content

Commit d520ff8

Browse files
committed
Fixed rare edge-case bug
1 parent 363aaec commit d520ff8

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
*.json
33
other folder
44
*.exe
5+
*-linux
56
*.ico
67
node_modules
78
bundle.js

server.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,7 @@ function StartServer(){
168168
}
169169

170170
//console.log(`got downLoadDir, allowDownload = ${allowDownload}`);
171-
if(allowDownload){
171+
if(madeAllowDownloadDecision && allowDownload){
172172
data = JSON.parse(data)
173173

174174
Object.keys(data).forEach(function(key) {

0 commit comments

Comments
 (0)