create client log + secure mode env
All checks were successful
/ Make image (push) Successful in 1m21s

This commit is contained in:
nquidox 2025-10-16 15:41:52 +03:00
parent 95b75d0067
commit 2d2afffcaf
2 changed files with 14 additions and 2 deletions

View file

@ -46,6 +46,7 @@ type MediaConfig struct {
Port string
User string
Password string
Secure string
}
func NewConfig() *Config {
@ -86,6 +87,7 @@ func NewConfig() *Config {
Port: getEnv("MEDIA_STORAGE_PORT", ""),
User: getEnv("MEDIA_STORAGE_USER", ""),
Password: getEnv("MEDIA_STORAGE_PASSWORD", ""),
Secure: getEnv("MEDIA_STORAGE_SECURE", ""),
},
}
}