This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Meteor.startup(function() { | |
var auto; | |
auto = Cookie.get('autosubscribe'); | |
if (auto) { | |
return Router.go('publicScreen', { | |
_id: auto | |
}); | |
} | |
}); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var express = require("express"), | |
http = require("http"), | |
async = require("async"), | |
sockjs = require("sockjs"), | |
uuid = require("uuid"), | |
url = require("url"), | |
redis = require("redis"); // for pubsub and to persist data if your app restarts | |
var app = express(), | |
redisClient = redis.createClient(), |
NewerOlder