Improve environment variable stuff
This commit is contained in:
parent
760ee07a2e
commit
6ba174cff0
16 changed files with 66 additions and 64 deletions
|
@ -6,8 +6,8 @@ const stripe = new Stripe(process.env.STRIPE_SECRET_KEY);
|
|||
import { Mandrill } from 'mandrill-api/mandrill';
|
||||
const mandrill = new Mandrill(process.env.MANDRILL_KEY);
|
||||
|
||||
const fromEmail = process.env.EMAIL_FROM || 'nobody@example.com';
|
||||
const fromName = process.env.EMAIL_NAME || 'Nobody';
|
||||
const fromEmail = process.env.EMAIL_FROM;
|
||||
const fromName = process.env.EMAIL_NAME;
|
||||
|
||||
export function* create() {
|
||||
const Users = this.db.Users;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue