diff --git a/scripts/install b/scripts/install index d0d3cf4..a98e7ed 100644 --- a/scripts/install +++ b/scripts/install @@ -391,7 +391,7 @@ ynh_script_progression --message="Configuring SSOwat..." --weight=1 # Open access to server without a button the home # The script "add_sso_conf.py" will just add en entry for the path "/_matrix" in the sso conf.json.persistent file in the cathegory "skipped_urls". python3 ../conf/add_sso_conf.py || ynh_die --message="Your file /etc/ssowat/conf.json.persistent doesn't respect the json syntax. Please fix the syntax to install this app. For more information see here: https://github.com/YunoHost-Apps/synapse_ynh/issues/32" -ynh_permission_url --permission main --url /_matrix/cas_server.php/login +ynh_permission_url --permission main --url $domain/_matrix/cas_server.php/login #================================================= # UPDATE HOOKS diff --git a/scripts/upgrade b/scripts/upgrade index 65683ca..7361f60 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -439,7 +439,7 @@ ynh_script_progression --message="Configuring SSOwat..." --weight=1 # Open access to server without a button the home # The script "add_sso_conf.py" will just add en entry for the path "/_matrix" in the sso conf.json.persistent file in the cathegory "skipped_urls". python3 ../conf/add_sso_conf.py || ynh_die --message="Your file /etc/ssowat/conf.json.persistent doesn't respect the json syntax. Please fix the syntax to install this app. For more information see here: https://github.com/YunoHost-Apps/synapse_ynh/issues/32" -ynh_permission_url --permission main --url /_matrix/cas_server.php/login +ynh_permission_url --permission main --url $domain/_matrix/cas_server.php/login #================================================= # SECURE FILES AND DIRECTORIES