mirror of
https://github.com/Websoft9/websoft9.git
synced 2025-02-03 09:48:38 +08:00
docker
This commit is contained in:
parent
ac13f06229
commit
493a169ede
@ -171,7 +171,8 @@ def check_app_url(customer_app_name):
|
||||
url = ip + ":" + http_port
|
||||
else:
|
||||
url = ip
|
||||
modify_env(env_path, "APP_URL", url)
|
||||
cmd = "sed -i 's/APP_URL=.*/APP_URL=" + url + "/g' /data/apps/" + customer_app_name +"/.env"
|
||||
shell_execute.execute_command_output_all(cmd)
|
||||
|
||||
myLogger.info_logger("App url check complete")
|
||||
return
|
||||
|
Loading…
Reference in New Issue
Block a user