No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
1 additions and
4 deletions
-
utils/listFile.js
|
|
@ -25,8 +25,6 @@ function appendToList(domain, outPort, inPort) { |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
jsonFile = {} |
|
|
|
|
|
|
|
if (fs.existsSync(listFilePath)) { |
|
|
|
jsonFile = fs.readFileSync(listFilePath); |
|
|
|
jsonFile = JSON.parse(jsonFile); |
|
|
@ -42,7 +40,6 @@ function appendToList(domain, outPort, inPort) { |
|
|
|
jsonFile = beautifyJSON(jsonFile, null, 2, 30); |
|
|
|
} |
|
|
|
else { |
|
|
|
jsonFile = {} |
|
|
|
jsonFile[domain] = domBlock; |
|
|
|
jsonFile = beautifyJSON(jsonFile); |
|
|
|
} |
|
|
|