mirror of
https://github.com/YunoHost/yunohost.git
synced 2024-09-03 20:06:10 +02:00
Fix change_url again, otherwise the lack of path_url default to the old path and fucks up the nginx regen
This commit is contained in:
parent
38db30cd70
commit
169c921444
1 changed files with 3 additions and 0 deletions
|
@ -480,6 +480,7 @@ def app_change_url(operation_logger, app, domain, path):
|
|||
env_dict["new_path"] = path
|
||||
env_dict["domain"] = domain
|
||||
env_dict["path"] = path
|
||||
env_dict["path_url"] = path
|
||||
env_dict["change_path"] = "1" if old_path != path else "0"
|
||||
env_dict["change_domain"] = "1" if old_domain != domain else "0"
|
||||
|
||||
|
@ -500,6 +501,8 @@ def app_change_url(operation_logger, app, domain, path):
|
|||
|
||||
change_url_script = os.path.join(tmp_workdir_for_app, "scripts/change_url")
|
||||
|
||||
import pdb; pdb.set_trace()
|
||||
|
||||
# Execute App change_url script
|
||||
change_url_failed = True
|
||||
try:
|
||||
|
|
Loading…
Add table
Reference in a new issue