summaryrefslogtreecommitdiff
path: root/index.js
diff options
context:
space:
mode:
authorJules Laplace <jules@okfoc.us>2017-05-12 17:28:33 +0200
committerJules Laplace <jules@okfoc.us>2017-05-12 17:28:33 +0200
commite60253e2c14ad6fa95e5c7801b378569c3c44400 (patch)
tree1c216753d230556d857e15b6a9c94b84ff149a10 /index.js
parent6850b2e61448fc41eb1d486b251702ba6fa5c736 (diff)
sending mail
Diffstat (limited to 'index.js')
-rw-r--r--index.js8
1 files changed, 8 insertions, 0 deletions
diff --git a/index.js b/index.js
index bd8017d..434109d 100644
--- a/index.js
+++ b/index.js
@@ -69,6 +69,14 @@ var app = okcms.createApp({
dirname: process.env.S3_DIRNAME,
maxbytes: 1024*1024*2,
},
+ awmail: {
+ lib: require("./lib/awmail"),
+ apikey: process.env.MAILGUN_API_KEY,
+ domain: process.env.MAILGUN_DOMAIN,
+ secret: process.env.MAIL_SECRET,
+ from: 'Hansel and Gretel <mail@hanselandgretelarmory.com>',
+ subject: 'We Found Your Face',
+ },
},
}).listen(process.env.PORT || 1337)