fix: wrong download subdomain
This commit is contained in:
parent
fdfdf9b6a9
commit
a93eca6a7c
|
@ -162,5 +162,5 @@ func generateDownloadUrl(hash *encoding.Multihash, portal interfaces.Portal) str
|
|||
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)
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue