Update index.py

This commit is contained in:
dami
2026-04-07 15:27:00 +08:00
parent f2d93564a5
commit 52c30a1e0e
+1 -1
View File
@@ -570,7 +570,7 @@ def setCfg():
if k == "worker_processes" or k == "gzip":
if not re.search(r"auto|on|off|\d+", v):
return mw.returnJson(False, '参数值错误')
if k == "zstd" or k == "brotli":
elif k == "zstd" or k == "brotli":
if not re.search(r"auto|on|off|\d+", v):
return mw.returnJson(False, '参数值错误')
else: