From 4f68d61aca85bd180858892d75a6ef1fff538f66 Mon Sep 17 00:00:00 2001 From: lesion Date: Tue, 5 Mar 2019 00:23:21 +0100 Subject: [PATCH] embed .env example --- .env | 9 +++++++++ app/config.js | 2 +- 2 files changed, 10 insertions(+), 1 deletion(-) create mode 100644 .env diff --git a/.env b/.env new file mode 100644 index 00000000..45a8838d --- /dev/null +++ b/.env @@ -0,0 +1,9 @@ +BASE_URL=http://localhost:12300 + +ADMIN_EMAIL=admin@example.com + +SMTP_HOST=mail.example.com +SMTP_USER=admin@example.com +SMTP_PASS=secret + +SECRET=secret diff --git a/app/config.js b/app/config.js index 3fecc71e..d8da2e42 100644 --- a/app/config.js +++ b/app/config.js @@ -34,5 +34,5 @@ module.exports = { } }, - secret: process.env.SMTP_SECRET + secret: process.env.SECRET }