diff --git a/ui/entrypoint.py b/ui/entrypoint.py index db1e5a6..cd39bfb 100644 --- a/ui/entrypoint.py +++ b/ui/entrypoint.py @@ -80,6 +80,7 @@ def services(): # Check that all fields are present and they match the corresponding regex env = {} + env["MULTISITE"] = "yes" if request.form["operation"] in ["new", "edit"] : for category in current_app.config["CONFIG"] : for param in current_app.config["CONFIG"][category]["params"] : diff --git a/ui/wrappers.py b/ui/wrappers.py index c65736e..e27f0a6 100644 --- a/ui/wrappers.py +++ b/ui/wrappers.py @@ -71,9 +71,6 @@ def edit_service(client, old_server_name, env) : check, new = new_service(client, env) if not check : return check, new - check, nb = reload_instances(client) - if not check : - return check, nb return True, "Web service " + old_server_name + " has been edited." def delete_service(client, server_name) :