fix: 修复namesilo ttl太短的问题

v2
xiaojunnuo 2025-01-14 14:47:03 +08:00
parent 2a8eeaf240
commit 865f26d75c
2 changed files with 2 additions and 2 deletions

View File

@ -72,7 +72,7 @@ export class CertReader {
if (ic == null) {
return "";
}
return ic.trim();
return ic?.trim();
}
getOc() {

View File

@ -70,7 +70,7 @@ export class NamesiloDnsProvider extends AbstractDnsProvider<NamesiloRecord> {
rrtype: type,
rrhost: hostRecord,
rrvalue: value,
rrttl: 10,
rrttl: 3600,
});
//本接口需要返回本次创建的dns解析记录这个记录会在删除的时候用到