Commit f2731973 authored by 智勇's avatar 智勇

update

parent f0b8f5ab
...@@ -57,7 +57,6 @@ for file in files: ...@@ -57,7 +57,6 @@ for file in files:
# domain = requests.get(opApiHost + '/proconfig/get_host?system_name=' + project) # domain = requests.get(opApiHost + '/proconfig/get_host?system_name=' + project)
# domain = domain.json['data'].split('.')[0] # domain = domain.json['data'].split('.')[0]
domain = sys.argv[1].split('.')[0] domain = sys.argv[1].split('.')[0]
print ('domain:', domain)
rule['to'] = '//' + domain + rule['to'] rule['to'] = '//' + domain + rule['to']
if rule['reg']: if rule['reg']:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment