From 6acbc2118bd913874d4e4c70051638186260bc73 Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Sun, 27 Aug 2017 12:33:27 +0100 Subject: [PATCH] Set integration server parameters to empty strings --- src/freedombone-app-riot | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/freedombone-app-riot b/src/freedombone-app-riot index ec6a0d59..0c7139d1 100755 --- a/src/freedombone-app-riot +++ b/src/freedombone-app-riot @@ -251,15 +251,15 @@ function install_riot { if [[ $ONION_ONLY == 'no' ]]; then sed -i "s|\"default_hs_url\":.*|\"default_hs_url\": \"https://${MATRIX_DOMAIN_NAME}\",|g" config.json sed -i "s|\"default_is_url\":.*|\"default_is_url\": \"https://${MATRIX_DOMAIN_NAME}\",|g" config.json - sed -i "s|\"integrations_ui_url\":.*|\"integrations_ui_url\": \"https://${MATRIX_DOMAIN_NAME}/\",|g" config.json - sed -i "s|\"integrations_rest_url\":.*|\"integrations_rest_url\": \"https://${MATRIX_DOMAIN_NAME}/api\",|g" config.json + sed -i "s|\"integrations_ui_url\":.*|\"integrations_ui_url\": \"\",|g" config.json + sed -i "s|\"integrations_rest_url\":.*|\"integrations_rest_url\": \"\",|g" config.json sed -i "s|\"bug_report_endpoint_url\":.*|\"bug_report_endpoint_url\": \"https://${MATRIX_DOMAIN_NAME}/bugs\",|g" config.json sed -i "/\"servers\":/a \"${MATRIX_DOMAIN_NAME}\"," config.json else sed -i "s|\"default_hs_url\":.*|\"default_hs_url\": \"http://${MATRIX_ONION_DOMAIN_NAME}\",|g" config.json sed -i "s|\"default_is_url\":.*|\"default_is_url\": \"http://${MATRIX_ONION_DOMAIN_NAME}\",|g" config.json - sed -i "s|\"integrations_ui_url\":.*|\"integrations_ui_url\": \"http://${MATRIX_ONION_DOMAIN_NAME}/\",|g" config.json - sed -i "s|\"integrations_rest_url\":.*|\"integrations_rest_url\": \"http://${MATRIX_ONION_DOMAIN_NAME}/api\",|g" config.json + sed -i "s|\"integrations_ui_url\":.*|\"integrations_ui_url\": \"\",|g" config.json + sed -i "s|\"integrations_rest_url\":.*|\"integrations_rest_url\": \"\",|g" config.json sed -i "s|\"bug_report_endpoint_url\":.*|\"bug_report_endpoint_url\": \"http://${MATRIX_ONION_DOMAIN_NAME}/bugs\",|g" config.json sed -i "/\"servers\":/a \"${MATRIX_ONION_DOMAIN_NAME}\"," config.json fi