bcomeau / parse-server-mailgun-adapter-template

Used to send Parse Server password reset and email verification emails though Mailgun
Other
11 stars 12 forks source link

Use with environment variables #11

Closed ranhsd closed 7 years ago

ranhsd commented 7 years ago

Hi , I noticed that currently this adapter can be used only with json configuration. I waned to know if it is possible to support also environment variables?

Thanks.

meepzh commented 7 years ago

You can do it with process.env.VARIABLE_NAME. The default Parse server index.js uses this.