Skip to content

Commit

Permalink
POST-GET
Browse files Browse the repository at this point in the history
  • Loading branch information
patrickmuhi committed Jun 26, 2018
1 parent 20cdd76 commit 21d7f2e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/web_app/js/util.js
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ function sendUrlRequest(method, url, async, body) {
// }
function requestIceServers(iceServerRequestUrl, iceTransports) {
return new Promise(function(resolve, reject) {
sendAsyncUrlRequest('POST', iceServerRequestUrl).then(function(response) {
sendAsyncUrlRequest('GET', iceServerRequestUrl).then(function(response) {
var iceServerRequestResponse = parseJSON(response);
if (!iceServerRequestResponse) {
reject(Error('Error parsing response JSON: ' + response));
Expand Down

0 comments on commit 21d7f2e

Please sign in to comment.