mirror of
https://github.com/midoks/mdserver-web.git
synced 2026-10-10 04:19:26 +08:00
Update index.py
This commit is contained in:
@@ -406,7 +406,7 @@ def setSiteConf():
|
||||
for v in ['cdn_headers', 'exclude_extension', 'exclude_status', 'exclude_ip']:
|
||||
data = checkArgs(args, [v])
|
||||
if data[0]:
|
||||
site_conf[v] = args[v].split("\\n")
|
||||
site_conf[v] = args[v].strip().split("\\n")
|
||||
|
||||
data = checkArgs(args, ['exclude_url'])
|
||||
if data[0]:
|
||||
|
||||
Reference in New Issue
Block a user