- Cloudflare e configurazione dominio DNS (host, host_test, host_ip, ecc...)
This commit is contained in:
@@ -1224,6 +1224,8 @@ router.post('/cloudflare', authenticate, async (req, res) => {
|
||||
result = await cf.fetchDNSRecords(tok, zoneId);
|
||||
} else if (cmd === "setRecordDNS") {
|
||||
result = await cf.updateDNSRecord(tok, zoneId, dnsRecordId, record);
|
||||
} else if (cmd === "setCorrectIpsOnDNS") {
|
||||
result = await cf.setCorrectIpsOnDNS(record);
|
||||
} else if (cmd === "gettok") {
|
||||
result = JSON.parse(process.env.CLOUDFLARE_TOKENS);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user