diff --git a/class/core/config_api.py b/class/core/config_api.py index d95da8385..6a3ae3931 100755 --- a/class/core/config_api.py +++ b/class/core/config_api.py @@ -452,7 +452,10 @@ class config_api: mw.execShell('rm -rf ' + dst_csrpath) if os.path.exists(dst_keypath): mw.execShell('rm -rf ' + dst_keypath) + mw.restartWeb() return mw.returnJson(True, '已经删除SSL!') + + mw.restartWeb() return mw.returnJson(False, '已经不存在SSL!') # 申请面板let证书