Autoreconnect
This commit is contained in:
parent
4fafaf8ed5
commit
4954b907de
4 changed files with 11 additions and 0 deletions
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