Skip to content

Commit

Permalink
Merge pull request #3 from lauffenp/patch-1
Browse files Browse the repository at this point in the history
make mailgun key and domain env vars
  • Loading branch information
megmcginty authored Oct 29, 2018
2 parents 8acfdae + 24d4867 commit 429d1ea
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@ var api = new ParseServer({
appName: 'MoodMeter',
publicServerURL: process.env.SERVER_URL || 'http://localhost:1337/parse',
emailAdapter: SimpleMailgunAdapter({
apiKey: 'key-475d9a79e4ba7db4a447084c03a1a96e',
domain: 'sandbox79046e0018c94c6289943caee39d6a74.mailgun.org',
apiKey: process.env.MAILGUN_API_KEY,
domain: process.env.MAILGUN_DOMAIN,
fromAddress: '[email protected]',
}),
// Optional only if you want to provide you own pages hosted on your web server
Expand Down

0 comments on commit 429d1ea

Please sign in to comment.