Skip to content

Instantly share code, notes, and snippets.

@alnafie
Forked from gabrielhpugliese/applications.js
Created February 5, 2014 13:03
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save alnafie/8823160 to your computer and use it in GitHub Desktop.
Save alnafie/8823160 to your computer and use it in GitHub Desktop.
if (Meteor._reload) {
Meteor._reload.onMigrate('session', function() {
return [true, {
keys : []
}];
});
(function() {
var migrationData = Meteor._reload.migrationData('session');
if (migrationData && migrationData.keys) {
Session.keys = migrationData.keys;
}
})();
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment