mirror of
https://github.com/watn3y/steamsalty.git
synced 2025-10-25 09:51:02 +02:00
fix: config parsing
This commit is contained in:
parent
f445fef85a
commit
6e4575f298
1 changed files with 3 additions and 3 deletions
|
|
@ -12,8 +12,8 @@ type config struct {
|
|||
SteamAPIKey string `env:"STEAMSALTY_STEAMAPIKEY" required:"true"`
|
||||
|
||||
DeepL struct {
|
||||
APIKey string `env:"APIKEY"`
|
||||
FreeTier bool `env:"FREETIER" default:"true"`
|
||||
} `env:"STEAMSALTY_DEEPL_"`
|
||||
APIKey string `env:"STEAMSALTY_DEEPL_APIKEY"`
|
||||
FreeTier bool `env:"STEAMSALTY_DEEPL_FREETIER" default:"true"`
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue