diff --git a/labs/demos/lib/handlers.coffee b/labs/demos/lib/handlers.coffee old mode 100644 new mode 100755 index 9665961270..6feb767eb2 --- a/labs/demos/lib/handlers.coffee +++ b/labs/demos/lib/handlers.coffee @@ -2,6 +2,7 @@ xml2js = require 'xml2js' bbbapi = require './bbbapi' testapi = require './testapi' +configJson = require './../config.json' index = (request, response) -> response.sendfile('./views/index.html') @@ -37,7 +38,7 @@ login = (req, resp) -> "\nuser_id = " + user_id + "\nauth_token = " + auth_token - url = "http://192.168.0.203:3000/html5.client?meeting_id=" + meeting_id + "&user_id=" + + url = "#{configJson.settings.IP}:3000/html5.client?meeting_id=" + meeting_id + "&user_id=" + user_id + "&auth_token=" + auth_token json = diff --git a/labs/demos/views/index.html b/labs/demos/views/index.html old mode 100644 new mode 100755 index 014eb94071..d2976411c4 --- a/labs/demos/views/index.html +++ b/labs/demos/views/index.html @@ -1,7 +1,7 @@
- +