Cleanup
This commit is contained in:
@ -15,7 +15,6 @@ import (
|
||||
"github.com/animenotifier/notify.moe/server/graphql"
|
||||
"github.com/animenotifier/notify.moe/server/https"
|
||||
"github.com/animenotifier/notify.moe/server/middleware"
|
||||
"github.com/animenotifier/notify.moe/utils/htmlemail"
|
||||
)
|
||||
|
||||
// New creates a new web server.
|
||||
@ -86,9 +85,6 @@ func New() *aero.Application {
|
||||
color.Red(err.Error())
|
||||
})
|
||||
|
||||
// Emails
|
||||
arn.HTMLEmailRenderer = &htmlemail.Renderer{}
|
||||
|
||||
// Check that this is the server
|
||||
if !arn.Node.IsServer() && !IsTest() {
|
||||
panic("Another program is currently running as the database server")
|
||||
|
Reference in New Issue
Block a user