forked from parse-community/parse-server-example
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #3 from lauffenp/patch-1
make mailgun key and domain env vars
- Loading branch information
Showing
1 changed file
with
2 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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 | ||
|