mirror of
https://github.com/vale981/Vulcan
synced 2025-03-08 19:11:38 -05:00
8 lines
325 B
JavaScript
8 lines
325 B
JavaScript
import { Kadira } from 'meteor/meteorhacks:kadira';
|
|
import { getSetting } from 'meteor/nova:core';
|
|
|
|
Meteor.startup(function() {
|
|
if(process.env.NODE_ENV === "production" && !!getSetting('kadiraAppId') && !!getSetting('kadiraAppSecret')){
|
|
Kadira.connect(getSetting('kadiraAppId'), getSetting('kadiraAppSecret'));
|
|
}
|
|
});
|