Ajout du paramètre base url

This commit is contained in:
2024-09-11 12:09:43 +02:00
parent ca1d3810a8
commit 1139bfe73f
3 changed files with 7 additions and 3 deletions

View File

@ -1,6 +1,7 @@
package config
type Config struct {
BaseUrl string `env:"ALTCHA_BASE_URL" envDefault:""`
Port string `env:"ALTCHA_PORT" envDefault:"3333"`
HmacKey string `env:"ALTCHA_HMAC_KEY"`
MaxNumber int64 `env:"ALTCHA_MAX_NUMBER" envDefault:"1000000"`