constness
This commit is contained in:
+2
-2
@@ -360,9 +360,9 @@ async function checkMx(domain, mailFqdn) {
|
||||
}
|
||||
|
||||
function txtToDict(txt) {
|
||||
var dict = {};
|
||||
const dict = {};
|
||||
txt.split(';').forEach(function(v) {
|
||||
var p = v.trim().split('=');
|
||||
const p = v.trim().split('=');
|
||||
dict[p[0]]=p[1];
|
||||
});
|
||||
return dict;
|
||||
|
||||
Reference in New Issue
Block a user