Autoreconnect
This commit is contained in:
parent
4fafaf8ed5
commit
4954b907de
4 changed files with 11 additions and 0 deletions
|
|
@ -61,3 +61,4 @@ barbatus:stars-rating
|
|||
arkham:comments-ui
|
||||
facts
|
||||
gadicohen:sitemaps
|
||||
nspangler:autoreconnect
|
||||
|
|
|
|||
|
|
@ -90,6 +90,7 @@ mys:fonts@0.0.2
|
|||
natestrauser:publish-performant-counts@0.1.2
|
||||
npm-bcrypt@0.9.3
|
||||
npm-mongo@2.2.34
|
||||
nspangler:autoreconnect@0.0.1
|
||||
oauth@1.2.0
|
||||
oauth2@1.2.0
|
||||
observe-sequence@1.0.16
|
||||
|
|
|
|||
8
imports/startup/client/reconnect.js
Normal file
8
imports/startup/client/reconnect.js
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
/* global reconnecToServer */
|
||||
|
||||
import { Meteor } from 'meteor/meteor';
|
||||
|
||||
Meteor.startup(() => {
|
||||
// Reconnect Function
|
||||
reconnectToServer(5000, true);
|
||||
});
|
||||
|
|
@ -18,6 +18,7 @@ import '/imports/startup/client/meta';
|
|||
import '/imports/startup/client/ravenLogger';
|
||||
import '/imports/startup/client/geolocation';
|
||||
import '/imports/startup/client/piwik-start.js';
|
||||
import '/imports/startup/client/reconnect.js';
|
||||
import Reconnect from '../../components/Reconnect/Reconnect';
|
||||
import Navigation from '../../components/Navigation/Navigation';
|
||||
import Authenticated from '../../components/Authenticated/Authenticated';
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue