| 
				
			 | 
			
			
				@@ -251,15 +251,15 @@ function install_riot { 
			 | 
		
	
		
			
			| 
				251
			 | 
			
				251
			 | 
			
			
				     if [[ $ONION_ONLY == 'no' ]]; then 
			 | 
		
	
		
			
			| 
				252
			 | 
			
				252
			 | 
			
			
				         sed -i "s|\"default_hs_url\":.*|\"default_hs_url\": \"https://${MATRIX_DOMAIN_NAME}\",|g" config.json 
			 | 
		
	
		
			
			| 
				253
			 | 
			
				253
			 | 
			
			
				         sed -i "s|\"default_is_url\":.*|\"default_is_url\": \"https://${MATRIX_DOMAIN_NAME}\",|g" config.json 
			 | 
		
	
		
			
			| 
				254
			 | 
			
				
			 | 
			
			
				-        sed -i "s|\"integrations_ui_url\":.*|\"integrations_ui_url\": \"https://${MATRIX_DOMAIN_NAME}/\",|g" config.json 
			 | 
		
	
		
			
			| 
				255
			 | 
			
				
			 | 
			
			
				-        sed -i "s|\"integrations_rest_url\":.*|\"integrations_rest_url\": \"https://${MATRIX_DOMAIN_NAME}/api\",|g" config.json 
			 | 
		
	
		
			
			| 
				
			 | 
			
				254
			 | 
			
			
				+        sed -i "s|\"integrations_ui_url\":.*|\"integrations_ui_url\": \"\",|g" config.json 
			 | 
		
	
		
			
			| 
				
			 | 
			
				255
			 | 
			
			
				+        sed -i "s|\"integrations_rest_url\":.*|\"integrations_rest_url\": \"\",|g" config.json 
			 | 
		
	
		
			
			| 
				256
			 | 
			
				256
			 | 
			
			
				         sed -i "s|\"bug_report_endpoint_url\":.*|\"bug_report_endpoint_url\": \"https://${MATRIX_DOMAIN_NAME}/bugs\",|g" config.json 
			 | 
		
	
		
			
			| 
				257
			 | 
			
				257
			 | 
			
			
				         sed -i "/\"servers\":/a \"${MATRIX_DOMAIN_NAME}\"," config.json 
			 | 
		
	
		
			
			| 
				258
			 | 
			
				258
			 | 
			
			
				     else 
			 | 
		
	
		
			
			| 
				259
			 | 
			
				259
			 | 
			
			
				         sed -i "s|\"default_hs_url\":.*|\"default_hs_url\": \"http://${MATRIX_ONION_DOMAIN_NAME}\",|g" config.json 
			 | 
		
	
		
			
			| 
				260
			 | 
			
				260
			 | 
			
			
				         sed -i "s|\"default_is_url\":.*|\"default_is_url\": \"http://${MATRIX_ONION_DOMAIN_NAME}\",|g" config.json 
			 | 
		
	
		
			
			| 
				261
			 | 
			
				
			 | 
			
			
				-        sed -i "s|\"integrations_ui_url\":.*|\"integrations_ui_url\": \"http://${MATRIX_ONION_DOMAIN_NAME}/\",|g" config.json 
			 | 
		
	
		
			
			| 
				262
			 | 
			
				
			 | 
			
			
				-        sed -i "s|\"integrations_rest_url\":.*|\"integrations_rest_url\": \"http://${MATRIX_ONION_DOMAIN_NAME}/api\",|g" config.json 
			 | 
		
	
		
			
			| 
				
			 | 
			
				261
			 | 
			
			
				+        sed -i "s|\"integrations_ui_url\":.*|\"integrations_ui_url\": \"\",|g" config.json 
			 | 
		
	
		
			
			| 
				
			 | 
			
				262
			 | 
			
			
				+        sed -i "s|\"integrations_rest_url\":.*|\"integrations_rest_url\": \"\",|g" config.json 
			 | 
		
	
		
			
			| 
				263
			 | 
			
				263
			 | 
			
			
				         sed -i "s|\"bug_report_endpoint_url\":.*|\"bug_report_endpoint_url\": \"http://${MATRIX_ONION_DOMAIN_NAME}/bugs\",|g" config.json 
			 | 
		
	
		
			
			| 
				264
			 | 
			
				264
			 | 
			
			
				         sed -i "/\"servers\":/a \"${MATRIX_ONION_DOMAIN_NAME}\"," config.json 
			 | 
		
	
		
			
			| 
				265
			 | 
			
				265
			 | 
			
			
				     fi 
			 |