Import path fix

This commit is contained in:
2026-02-25 12:35:21 -05:00
parent b522e5064a
commit 0a63e05028
8 changed files with 14 additions and 129 deletions
+4
View File
@@ -230,20 +230,24 @@ class Host extends Table{
async checkWildcardForRenew(){
try{
console.log(`Checking ${this.host}`);
if(this.is_wildcard && Date.now() > this.wildcard_expires - (30 * 24 * 60 * 60 * 1000)){
this.createWildcardCert();
}
}catch(error){
console.error('checkWildcardForRenew instance', this.host, error)
throw error;
}
}
static async checkWildcardForRenew(){
try{
console.log('checkWildcardForRenew here', this)
for(let host of await this.listDetail()){
host.createWildcardCert();
}
}catch(error){
console.error('checkWildcardForRenew', error)
throw error;
}
}