From fb6deaba774b57d09a3f7da3b1b5beb9b8964316 Mon Sep 17 00:00:00 2001 From: Francois Lionet Date: Wed, 25 Oct 2017 10:11:14 +0200 Subject: [PATCH] Friend Chat installer did not insert the TURN and STUN server URLs in Presence server config file. --- installFriendChat.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/installFriendChat.sh b/installFriendChat.sh index 7cbc0daf90..8bfa5d32f4 100755 --- a/installFriendChat.sh +++ b/installFriendChat.sh @@ -469,8 +469,8 @@ $SUDO sed -i -- "s@presence_domain@$friendCoreDomain@g" "$presencePath"/config.j $SUDO sed -i -- "s@path_to_key.pem@$FRIEND_BUILD/cfg/crt/key.pem@g" "$presencePath"/config.js $SUDO sed -i -- "s@path_to_cert.pem@$FRIEND_BUILD/cfg/crt/certificate.pem@g" "$presencePath"/config.js $SUDO sed -i -- "s@friendcore_domain@$friendCoreDomain@g" "$presencePath"/config.js -$SUDO sed -i -- "s@stun_url.com@$stunAddress@g" "$presencePath"/config.js -$SUDO sed -i -- "s@turn_url.com@$turnAddress@g" "$presencePath"/config.js +$SUDO sed -i -- "s@stun_url.com@$stunServer@g" "$presencePath"/config.js +$SUDO sed -i -- "s@turn_url.com@$turnServer@g" "$presencePath"/config.js $SUDO sed -i -- "s@turn_username@$turnUser@g" "$presencePath"/config.js $SUDO sed -i -- "s@turn_password@$turnPass@g" "$presencePath"/config.js $SUDO sed -i -- "s@Do not edit this file!@This file can be edited@g" "$presencePath"/config.js