Skip to content

Commit 92e7974

Browse files
Expose webhook config
1 parent bc420a4 commit 92e7974

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

api/auth.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ def index(): return {"running": "Parley", "version": version,
2121
"disable_channel_creation": config["instance"]["disable_channel_creation"],
2222
"disable_channel_deletion": config["instance"]["disable_channel_deletion"],
2323
"max_channels": config["max_members"]["max_channels"], "password_protected": bool(config["instance"]["password"]),
24-
"calls": config["calls"],
24+
"calls": config["calls"], "webhooks": config["webhooks"],
2525
**({"dev": True} if dev_mode else {})}, 200
2626

2727
def join_invite(db, id, invite_code):

default_config.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ uri_prefix="$URI_PREFIX" # URI Prefix, you must include it when connecting to th
3535
disable_channel_deletion=false # Prevents all users from leaving all channels
3636
[calls]
3737
enabled=true # Enable or disable calls feature
38-
stun_servers=["stun:stun.l.google.com:19302"] # STUN servers for WebRTC NAT traversal
38+
stun_servers=["stun:stun.l.google.com:19302", "stun:stun1.l.google.com:19302", "stun:stun2.l.google.com:19302", "stun:stun3.l.google.com:19302", "stun:stun4.l.google.com:19302", "stun:stun.ekiga.net:3478", "stun:stun.services.mozilla.com:3478", "stun:stun.stunprotocol.org:3478", "stun:stun.ideasip.com:3478", "stun:freestun.net:3478", "stun:stun.nextcloud.com:3478"] # STUN servers for WebRTC NAT traversal
3939
turn_servers=["turn:openrelay.metered.ca:80", "turn:openrelay.metered.ca:443"] # Optional TURN servers for relaying (format: ["turns:turn.example.com:5349"])
4040
turn_username="openrelayproject" # TURN server username
4141
turn_password="openrelayproject" # TURN server password

0 commit comments

Comments
 (0)