Update mw.py

This commit is contained in:
Mr Chen
2024-05-27 14:31:04 +08:00
parent 5edd9baeb6
commit 3c00ddad75
+8
View File
@@ -1293,6 +1293,14 @@ def checkDomainPanel():
scheme = 'http'
local_ssl = mw.getRunDir()+'/ssl/local'
choose_file = mw.getRunDir()+'/ssl/choose.pl'
if os.path.exists(choose_file):
choose = readFile(choose_file).strip()
if choose == 'local':
scheme == 'https'
# print(port)
npid = getServerDir() + "/openresty/nginx/logs/nginx.pid"
if not os.path.exists(npid):