Merge branch 'resource-dirs-config' into develop

pull/81/head
Matt Baer 6 years ago
commit 14f0d446e6
  1. 8
      app.go

@ -342,11 +342,15 @@ func Serve() {
isSingleUser = app.cfg.App.SingleUser
app.cfg.Server.Dev = *debugPtr
initTemplates(app.cfg)
err := initTemplates(app.cfg)
if err != nil {
log.Error("load templates: %s", err)
os.Exit(1)
}
// Load keys
log.Info("Loading encryption keys...")
err := initKeys(app)
err = initKeys(app)
if err != nil {
log.Error("\n%s\n", err)
}

Loading…
Cancel
Save