leiyun 10 mesi fa
parent
commit
b350e729bb
2 ha cambiato i file con 2 aggiunte e 1 eliminazioni
  1. +1
    -0
      src/common/config/env/production.js
  2. +1
    -1
      src/home/controller/index.js

+ 1
- 0
src/common/config/env/production.js Vedi File

@@ -13,6 +13,7 @@ export default {
"data.qbjjyyun.net",
"xxzz.qbjjyyun.net",
"xxzz.h5.qbjjyyun.net",
"www.qbjjyyun.net",
],
CERT_DIR:"/etc/nginx/cert",
SCP:[


+ 1
- 1
src/home/controller/index.js Vedi File

@@ -167,7 +167,7 @@ export default class extends Base {
const daysLeft = await getRemainingDays(domain);
const msg = `证书${domain},剩余${daysLeft}天`;
console.log(msg);
if (daysLeft <= 90) {
if (daysLeft <= 10) {
updateList.push(domain);
}
} catch (e) {


Caricamento…
Annulla
Salva