mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-05-06 16:05:00 -04:00
The REST API spec only alows for returning a single server so name the
endpoint appropriately.
This commit is contained in:
parent
7679ee7321
commit
7dc7c53029
2 changed files with 2 additions and 2 deletions
|
@ -24,7 +24,7 @@ import base64
|
||||||
|
|
||||||
|
|
||||||
class VoipRestServlet(RestServlet):
|
class VoipRestServlet(RestServlet):
|
||||||
PATTERN = client_path_pattern("/voip/turnServers$")
|
PATTERN = client_path_pattern("/voip/turnServer$")
|
||||||
|
|
||||||
@defer.inlineCallbacks
|
@defer.inlineCallbacks
|
||||||
def on_GET(self, request):
|
def on_GET(self, request):
|
||||||
|
|
|
@ -765,7 +765,7 @@ angular.module('matrixService', [])
|
||||||
},
|
},
|
||||||
|
|
||||||
getTurnServer: function() {
|
getTurnServer: function() {
|
||||||
return doRequest("GET", "/voip/turnServers");
|
return doRequest("GET", "/voip/turnServer");
|
||||||
}
|
}
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue