diff --git a/src/freedombone-utils-android b/src/freedombone-utils-android index e72d9c5a..d97a424c 100755 --- a/src/freedombone-utils-android +++ b/src/freedombone-utils-android @@ -88,6 +88,13 @@ function android_update_apps { read_config_param "${app_name_upper}_DOMAIN_NAME" test_domain_name="${app_name_upper}_DOMAIN_NAME" domain_name=${!test_domain_name} + if [ "$domain_name" ]; then + if [[ "$domain_name" != *'.onion' ]]; then + domain_name="https://${!test_domain_name}" + else + domain_name="http://${!test_domain_name}" + fi + fi if [[ "$domain_name" && "$app_name" != 'matrix' ]]; then { echo ' {'; echo " \"name\": \"${app_name}\",";