New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Merged
merged 4 commits into from Sep 21, 2018

Conversation

Projects
None yet
1 participant
@swederik
Member

swederik commented Sep 21, 2018

Addresses #275

  • Add startup.js to copy public.servers into the client Minimongo collection if we are using public.clientOnly = true
  • Set CurrentServer and Servers collection to client-only if clientOnly = true
  • Call Meteor.disconnect() if we are using clientOnly = true
  • Guard If statements requiring Meteor.settings.public, since it was not defined on the Standalone Viewer

swederik added some commits Sep 21, 2018

wip

@swederik swederik changed the title from WIP: fix(client-only): Fix client-only Server & CurrentServer usage to fix(client-only): Fix client-only Server & CurrentServer usage Sep 21, 2018

@swederik swederik merged commit 18a3bcb into master Sep 21, 2018

2 of 3 checks passed

continuous-integration/travis-ci/pr The Travis CI build is in progress
Details
continuous-integration/travis-ci/push The Travis CI build passed
Details
deploy/netlify Deploy preview ready!
Details

@swederik swederik deleted the client-only branch Sep 21, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment