Fixes for making Meteor working with HTTPS.

Signed-off-by: Roland Haeder <roland@mxchange.org>
This commit is contained in:
Roland Haeder
2014-08-18 21:59:25 +02:00
committed by Mikael Nordfeldth
parent c1a0132cab
commit e1eadbcf4f
2 changed files with 4 additions and 2 deletions

View File

@@ -4,7 +4,7 @@ var MeteorUpdater = function()
{
return {
init: function(server, port, timeline)
init: function(server, port, scheme, timeline)
{
Meteor.callbacks["process"] = function(data) {
RealtimeUpdate.receive(JSON.parse(data));
@@ -12,6 +12,7 @@ var MeteorUpdater = function()
Meteor.host = server;
Meteor.port = port;
Meteor.scheme = scheme;
Meteor.joinChannel(timeline, 0);
Meteor.connect();
}