mirror of
https://github.com/strukturag/nextcloud-spreed-signaling
synced 2024-05-11 10:06:34 +02:00
Merge pull request #428 from 3x3cut0r/patch-1
TURN_API_KEY and TURN_SECRET fix
This commit is contained in:
commit
4a7bf38bde
|
@ -128,10 +128,10 @@ if [ ! -f "$CONFIG" ]; then
|
|||
fi
|
||||
|
||||
if [ ! -z "$TURN_API_KEY" ]; then
|
||||
sed -i "s|the-api-key-for-the-rest-service|$TURN_API_KEY|" "$CONFIG"
|
||||
sed -i "s|#apikey = the-api-key-for-the-rest-service|apikey = $TURN_API_KEY|" "$CONFIG"
|
||||
fi
|
||||
if [ ! -z "$TURN_SECRET" ]; then
|
||||
sed -i "s|6d1c17a7-c736-4e22-b02c-e2955b7ecc64|$TURN_SECRET|" "$CONFIG"
|
||||
sed -i "s|#secret = 6d1c17a7-c736-4e22-b02c-e2955b7ecc64|secret = $TURN_SECRET|" "$CONFIG"
|
||||
fi
|
||||
if [ ! -z "$TURN_SERVERS" ]; then
|
||||
sed -i "s|#servers =.*|servers = $TURN_SERVERS|" "$CONFIG"
|
||||
|
|
Loading…
Reference in a new issue