fix: wrong download url
This commit is contained in:
parent
77a4561f55
commit
fe2d1be764
|
@ -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://s5.%s/api/s5/download/%s", domain, hashStr)
|
return fmt.Sprintf("https://s5.%s/s5/download/%s", domain, hashStr)
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue