diff options
author | Darius Kazemi <darius.kazemi@gmail.com> | 2020-01-04 13:33:35 -0800 |
---|---|---|
committer | Darius Kazemi <darius.kazemi@gmail.com> | 2020-01-04 14:36:07 -0800 |
commit | e212c731dd0348434586de8fdbdad383d3072fae (patch) | |
tree | c9178e886d669e98f2c13c344acdc928893266de /config | |
parent | f60041ee7471b24df688728acb7725932fd9eb5b (diff) |
Email refactoring
Tons of refactoring of email. This no longer uses Sendgrid templates and now uses source-controlled handlebars files in the `views/emails/` directory. This means that email messages are now source-controlled and vastly reduces the sendgrid setup process.
This also adds a new file, `domain-example.js`, in the config directory, which stores things like the site name, base URL, port, etc. This should be renamed to `domain.js`, in keeping with the other configuration files.
Diffstat (limited to 'config')
-rw-r--r-- | config/domain-example.js | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/config/domain-example.js b/config/domain-example.js new file mode 100644 index 0000000..3b77197 --- /dev/null +++ b/config/domain-example.js @@ -0,0 +1,7 @@ +module.exports = { + // Your domain goes here. If there is a port it should be 'domain:port', but otherwise just 'domain' + 'domain' : 'localhost:3000' , + 'port': '3000', + 'email': 'contact@example.com', + 'sitename': 'gathio' +}; |