export default {
  mailgun: {
    secret: process.env.MAILGUN_SECRET,
    domain: process.env.MAILGUN_DOMAIN || 'sse.rit.edu',
  },
};

export default {
  mailgun: {
    // NOTE: 'test' prevents 'mailgun-js' from complaining that no secret has been set
    // TODO: Read in environment variables from a '.env' file so we can set these default values in development
    secret: process.env.MAILGUN_SECRET || 'test',
    domain: process.env.MAILGUN_DOMAIN || 'sse.rit.edu',
  },
};

Set Default Value for Email Secret
Set Default Value for Email Secret

People were complaining they didn't know how to
set up the API because an error was being thrown.
This prevents the error from being thrown.
