Ajout de la variable d'environnement debug

This commit is contained in:
2024-09-16 15:27:29 +02:00
parent 5c070dc16d
commit efa824357f
6 changed files with 27 additions and 55 deletions

View File

@ -9,4 +9,5 @@ type Config struct {
Salt string `env:"ALTCHA_SALT"`
Expire string `env:"ALTCHA_EXPIRE" envDefault:"600"`
CheckExpire bool `env:"ALTCHA_CHECK_EXPIRE" envDefault:"1"`
Debug bool `env:"ALTCHA_DEBUG" envDefault:"false"`
}