vk-ssl-auto-deploy 0.7.0 → 0.7.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/views/admin.ejs +2 -3
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vk-ssl-auto-deploy",
3
- "version": "0.7.0",
3
+ "version": "0.7.1",
4
4
  "description": "SSL证书自动部署工具 - 提供HTTP API接口,支持证书文件自动上传和部署",
5
5
  "main": "app.js",
6
6
  "bin": {
package/views/admin.ejs CHANGED
@@ -1128,10 +1128,9 @@
1128
1128
  addLog(message, data.type || 'info');
1129
1129
  // 刷新证书列表
1130
1130
  loadCertList();
1131
- }
1131
+ }
1132
1132
  // 检查是否是证书更新完成的消息
1133
- else if (data.type === 'cert_update' && message === 'CERT_UPDATE_COMPLETE') {
1134
- addLog('✓ 证书更新完成,正在刷新证书列表...', 'success');
1133
+ else if ((data.type === 'cert_update' && message === 'CERT_UPDATE_COMPLETE') || message.includes('任务完成')) {
1135
1134
  loadCertList();
1136
1135
  } else {
1137
1136
  addLog(message, data.type || 'info');