This website works better with JavaScript.
Home
Explore
Help
Sign In
leiyun
/
ssl_manage
Watch
1
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Releases
0
Wiki
Activity
Browse Source
save
master
leiyun
10 months ago
parent
27fdb57080
commit
3065fe1655
2 changed files
with
3 additions
and
3 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+2
-2
src/common/config/env/yanxue.js
+1
-1
src/home/controller/index.js
+ 2
- 2
src/common/config/env/yanxue.js
View File
@@ -2,8 +2,8 @@
export default {
domains:[
"admin.yanxueji.net",
"api.yanxueji.net",
//
"admin.yanxueji.net",
//
"api.yanxueji.net",
"file.yanxueji.net",
],
CERT_DIR:"/usr/local/nginx/conf/cert"
+ 1
- 1
src/home/controller/index.js
View File
@@ -167,7 +167,7 @@ export default class extends Base {
const daysLeft = await getRemainingDays(domain);
const msg = `证书${domain},剩余${daysLeft}天`;
console.log(msg);
if (daysLeft <
1
0) {
if (daysLeft <
= 9
0) {
updateList.push(domain);
}
} catch (e) {
Write
Preview
Loading…
Cancel
Save