Commit 430700b3 by sikang

update script

parent d981b9cb
...@@ -187,6 +187,7 @@ class Function: ...@@ -187,6 +187,7 @@ class Function:
"gateway_url": "\"%s\"" % config['gateway_main'], "gateway_url": "\"%s\"" % config['gateway_main'],
"host_app": "true" "host_app": "true"
} }
config['gateway_url'] = config['gateway_mj']
# 更新gw # 更新gw
self.update_properties(config, replace_lines) self.update_properties(config, replace_lines)
self.update_gateway(config) self.update_gateway(config)
...@@ -203,6 +204,7 @@ class Function: ...@@ -203,6 +204,7 @@ class Function:
"gateway_url": "\"%s\"" % config['gateway_mj'], "gateway_url": "\"%s\"" % config['gateway_mj'],
"host_app": "false" "host_app": "false"
} }
config['gateway_url'] = config['gateway_mj']
# 更新gw # 更新gw
self.update_properties(config, replace_lines) self.update_properties(config, replace_lines)
self.update_gateway(config) self.update_gateway(config)
......
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