Skip to content

Commit

Permalink
Fix link to OCS signaling backend.
Browse files Browse the repository at this point in the history
Signed-off-by: Joachim Bauch <bauch@struktur.de>
  • Loading branch information
fancycode authored and nickvergessen committed Feb 2, 2018
1 parent 9a39ed9 commit f54e9de
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions js/signaling.js
Original file line number Diff line number Diff line change
Expand Up @@ -701,13 +701,13 @@
};
} else {
var user = OC.getCurrentUser();
var url = OC.generateUrl("/ocs/v2.php/apps/spreed/api/v1/signaling/backend");
var url = OC.linkToOCS('apps/spreed/api/v1/signaling', 2) + 'backend';
msg = {
"type": "hello",
"hello": {
"version": "1.0",
"auth": {
"url": OC.getProtocol() + "://" + OC.getHost() + url,
"url": url,
"params": {
"userid": user.uid,
"ticket": this.settings.ticket
Expand Down

0 comments on commit f54e9de

Please sign in to comment.