fix(client-only): Fix client-only Server & CurrentServer usage (#276)

This commit is contained in:
Erik Ziegler authored and GitHub committed 2018-09-21 20:02:29 +02:00
1 parent c4b1086097
commit 18a3bcba30
10 files changed
+86 -37

No files matched your search

+6
View File
@@ -30,3 +30,9 @@ Meteor.startup(function() {
}
});
});
if (Meteor.settings &&
Meteor.settings.public &&
Meteor.settings.public.clientOnly === true) {
Meteor.disconnect();
}