summaryrefslogtreecommitdiffstats
path: root/server/card-opened-webhook.js
blob: 3c94d1040e77e65a63e83f9f0db2add8da513e1e (plain)
1
2
3
4
5
6
7
Meteor.startup(() => {
  if (process.env.CARD_OPENED_WEBHOOK_ENABLED === 'true') {
    Meteor.settings.public.CARD_OPENED_WEBHOOK_ENABLED = true;
  } else {
    Meteor.settings.public.CARD_OPENED_WEBHOOK_ENABLED = false;
  }
});