Update site_api.py

This commit is contained in:
midoks
2022-11-15 16:42:00 +08:00
parent b5a710791d
commit 5a660d72b7
+1 -1
View File
@@ -664,7 +664,7 @@ class site_api:
msg = data['msg'][0]
return mw.returnJson(data['status'], msg, data['msg'])
letpath = mw.getServerDir() + 'web_conf/letsencrypt/' + siteName
letpath = mw.getServerDir() + '/web_conf/letsencrypt/' + siteName
csrpath = letpath + "/fullchain.pem" # 生成证书路径
keypath = letpath + "/privkey.pem" # 密钥文件路径