mirror of
https://github.com/Expand-sys/CloudflarePlesk-Link
synced 2026-03-22 09:47:09 +11:00
removed some comments and empty lines nothing to write home about
This commit is contained in:
parent
6c116acff5
commit
8eb3867825
1 changed files with 4 additions and 5 deletions
9
index.js
9
index.js
|
|
@ -7,10 +7,10 @@ dotenv.config();
|
||||||
let transporter = nodemailer.createTransport({
|
let transporter = nodemailer.createTransport({
|
||||||
host: process.env.HOST,
|
host: process.env.HOST,
|
||||||
port: 465,
|
port: 465,
|
||||||
secure: true, // true for 465, false for other ports
|
secure: true,
|
||||||
auth: {
|
auth: {
|
||||||
user: process.env.SENDER, // generated ethereal user
|
user: process.env.SENDER,
|
||||||
pass: process.env.SPASS, // generated ethereal password
|
pass: process.env.SPASS,
|
||||||
},
|
},
|
||||||
})
|
})
|
||||||
let message = [];
|
let message = [];
|
||||||
|
|
@ -116,8 +116,7 @@ async function dns(){
|
||||||
length = acme.length;
|
length = acme.length;
|
||||||
for(i in string){
|
for(i in string){
|
||||||
if (string[i].indexOf(acme)!=-1) {
|
if (string[i].indexOf(acme)!=-1) {
|
||||||
// one of the substrings is in yourstring
|
records.push(string[i])
|
||||||
records.push(string[i]) //result
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue