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

@ -16,6 +16,7 @@ type Deps struct {
Port string
User string
Password string
Domain string
Secure string
}
@ -40,6 +41,6 @@ func NewHandler(deps Deps) *Handler {
}).Debug("Media storage | Created minio client")
return &Handler{
newService(minioClient),
newService(minioClient, deps.Domain, endpoint),
}
}