perf: 支持部署到阿里云vod

This commit is contained in:
xiaojunnuo
2025-07-10 21:40:35 +08:00
parent 8626b6d9f2
commit 98da4e1791
6 changed files with 223 additions and 3 deletions

View File

@@ -204,4 +204,11 @@ export class CertReader {
domain = domain.replaceAll(".", "_").replaceAll("*", "_");
return `${domain}_${dayjs().format("YYYYMMDDHHmmssSSS")}`;
}
static appendTimeSuffix(name?: string) {
if (name == null) {
name = "certd";
}
return name + "_" + dayjs().format("YYYYMMDDHHmmssSSS");
}
}