From d0efc856deed6623e9363a9072dbbb25b12f0a87 Mon Sep 17 00:00:00 2001 From: Gredin 67 Date: Fri, 6 Jan 2023 14:48:08 +0100 Subject: [PATCH] https element url --- scripts/install | 2 +- scripts/upgrade | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/install b/scripts/install index 1c907b0..e1268e0 100644 --- a/scripts/install +++ b/scripts/install @@ -95,7 +95,7 @@ ynh_app_setting_set --app=$app --key=synapse_user_app_pwd --value=$synapse_user_ ## SET STANDARD SETTINGS FROM DEFAULT CONFIG #================================================= -element_ynh_url=element_domain+element_path +element_ynh_url="https://"+element_domain+element_path allow_public_rooms_without_auth="false" allow_public_rooms_over_federation="false" disable_msisdn_registration="true" diff --git a/scripts/upgrade b/scripts/upgrade index 2cabc86..fc6a812 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -191,7 +191,7 @@ element_path=$(ynh_app_setting_get --app $element_instance --key path) if [ -z "$element_ynh_url" ] then - element_ynh_url=element_domain+element_path + element_ynh_url="https://"+element_domain+element_path ynh_app_setting_set --app=$app --key=element_ynh_url --value=$element_ynh_url fi if [ -z "$allow_public_rooms_without_auth" ]