Merge branch 'resource-dirs-config' into develop
This commit is contained in:
commit
14f0d446e6
8
app.go
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…
Reference in New Issue