/**
 * Custom configuration
 * (sails.config.custom)
 *
 * One-off settings specific to your application.
 *
 * For more information on custom configuration, visit:
 * https://sailsjs.com/config/custom
 */
let env = (envvar, defaultvar) => process.env[envvar] || defaultvar

module.exports.custom = {

  /***************************************************************************
  *                                                                          *
  * Any other custom config this Sails app should use during development.    *
  *                                                                          *
  ***************************************************************************/
  // mailgunDomain: 'transactional-mail.example.com',
  // mailgunSecret: 'key-testkeyb183848139913858e8abd9a3',
  // stripeSecret: 'sk_test_Zzd814nldl91104qor5911gjald',
  // …
  secret: 'PERLENE@GESTION',
  token_expire_in: env('JWT_TOKEN_EXPIRED_IN', '1d')

};

// Importer les templates d'abonnement
const abonnementTemplates = require('./abonnement-templates');

module.exports.abonnementTemplates = abonnementTemplates.abonnementTemplates;
