Update config_api.py

pull/393/head
midoks 2 years ago
parent 667c60dda0
commit 75b2b4dbc2
  1. 3
      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证书

Loading…
Cancel
Save