This commit is contained in:
parent
0348dda5cd
commit
bb305eab9e
7 changed files with 29 additions and 8 deletions
|
|
@ -46,6 +46,7 @@ type MediaConfig struct {
|
|||
Port string
|
||||
User string
|
||||
Password string
|
||||
Domain string
|
||||
Secure string
|
||||
}
|
||||
|
||||
|
|
@ -87,6 +88,7 @@ func NewConfig() *Config {
|
|||
Port: getEnv("MEDIA_STORAGE_PORT", ""),
|
||||
User: getEnv("MEDIA_STORAGE_USER", ""),
|
||||
Password: getEnv("MEDIA_STORAGE_PASSWORD", ""),
|
||||
Domain: getEnv("MEDIA_STORAGE_DOMAIN", ""),
|
||||
Secure: getEnv("MEDIA_STORAGE_SECURE", ""),
|
||||
},
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue