"Changed AgnularJs Link
Made the http link use config IP in settings"
This commit is contained in:
parent
86f9b53e88
commit
4d476cec37
3
labs/demos/lib/handlers.coffee
Normal file → Executable file
3
labs/demos/lib/handlers.coffee
Normal file → Executable file
@ -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 =
|
||||
|
2
labs/demos/views/index.html
Normal file → Executable file
2
labs/demos/views/index.html
Normal file → Executable file
@ -1,7 +1,7 @@
|
||||
<!doctype html>
|
||||
<html ng-app="landingPage">
|
||||
<head>
|
||||
<script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.3.0-beta.7/angular.min.js"></script>
|
||||
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/angularjs/1.2.4/angular.min.js"></script>
|
||||
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js"></script>
|
||||
<script src="../public/js/app.js"></script>
|
||||
</head>
|
||||
|
Loading…
Reference in New Issue
Block a user