mirror of
https://github.com/certd/certd.git
synced 2026-04-14 20:40:53 +08:00
Merge branch 'v2-dev' into v2-plugin
This commit is contained in:
@@ -381,7 +381,8 @@ export class UploadCertToHostPlugin extends AbstractTaskPlugin {
|
||||
for (let i = 0; i < domains.length; i++) {
|
||||
env[`CERT_DOMAIN_${i}`] = domains[i];
|
||||
}
|
||||
env['CERT_EXPIRES'] = dayjs(certReader.getCrtDetail().expires).unix();
|
||||
//环境变量必须是string
|
||||
env['CERT_EXPIRES'] = ""+dayjs(certReader.getCrtDetail().expires).unix();
|
||||
|
||||
env['HOST_CRT_PATH'] = this.hostCrtPath || '';
|
||||
env['HOST_KEY_PATH'] = this.hostKeyPath || '';
|
||||
|
||||
Reference in New Issue
Block a user