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);
|
||||
});
|
||||
Loading…
Add table
Add a link
Reference in a new issue