summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--synapse/rest/voip.py2
-rw-r--r--webclient/components/matrix/matrix-service.js2
2 files changed, 2 insertions, 2 deletions
diff --git a/synapse/rest/voip.py b/synapse/rest/voip.py
index a3a8842cb6..7260ff0e8e 100644
--- a/synapse/rest/voip.py
+++ b/synapse/rest/voip.py
@@ -24,7 +24,7 @@ import base64
 
 
 class VoipRestServlet(RestServlet):
-    PATTERN = client_path_pattern("/voip/turnServers$")
+    PATTERN = client_path_pattern("/voip/turnServer$")
 
     @defer.inlineCallbacks
     def on_GET(self, request):
diff --git a/webclient/components/matrix/matrix-service.js b/webclient/components/matrix/matrix-service.js
index 69e6caccd3..cb827a0b4d 100644
--- a/webclient/components/matrix/matrix-service.js
+++ b/webclient/components/matrix/matrix-service.js
@@ -765,7 +765,7 @@ angular.module('matrixService', [])
         },
 
         getTurnServer: function() {
-            return doRequest("GET", "/voip/turnServers");
+            return doRequest("GET", "/voip/turnServer");
         }
 
     };