fix: wrong download subdomain

This commit is contained in:
Derrick Hammer 2024-01-24 03:41:00 -05:00
parent fdfdf9b6a9
commit a93eca6a7c
Signed by: pcfreak30
GPG Key ID: C997C339BE476FF2
1 changed files with 1 additions and 1 deletions

View File

@ -162,5 +162,5 @@ func generateDownloadUrl(hash *encoding.Multihash, portal interfaces.Portal) str
portal.Logger().Error("error encoding hash", zap.Error(err)) portal.Logger().Error("error encoding hash", zap.Error(err))
} }
return fmt.Sprintf("https://%s/api/s5/download/%s", domain, hashStr) return fmt.Sprintf("https://s5.%s/api/s5/download/%s", domain, hashStr)
} }