replace domain for links

This commit is contained in:
nquidox 2025-10-18 15:30:59 +03:00
parent 0348dda5cd
commit ffb1406fb8
5 changed files with 27 additions and 6 deletions

View file

@ -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", ""),
},
}