Added basic email renderer

This commit is contained in:
2019-08-16 14:27:45 +09:00
parent 373b34177d
commit 2a1d4ea479
9 changed files with 90 additions and 25 deletions

View File

@ -81,6 +81,9 @@ func configure(app *aero.Application) *aero.Application {
color.Red(err.Error())
})
// Emails
arn.HTMLEmailRenderer = &HTMLEmailRenderer{}
// Check that this is the server
if !arn.Node.IsServer() && !arn.IsTest() {
panic("Another program is currently running as the database server")