leiyun hace 10 meses
padre
commit
b350e729bb
Se han modificado 2 ficheros con 2 adiciones y 1 borrados
  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 Ver fichero

@@ -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 Ver fichero

@@ -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) {


Cargando…
Cancelar
Guardar