add debug mode

This commit is contained in:
jguer
2022-09-20 00:11:10 +02:00
parent e4fdc9a4d4
commit bc4732e9e1
5 changed files with 22 additions and 6 deletions

View File

@@ -65,6 +65,10 @@ func main() {
return
}
if config.Debug {
text.DebugMode = true
}
if errS := config.RunMigrations(
settings.DefaultMigrations(), config.Runtime.ConfigPath); errS != nil {
text.Errorln(errS)