From fe2d1be7644abdbbc3c053b133f41889e6bb2bf4 Mon Sep 17 00:00:00 2001 From: Derrick Hammer Date: Wed, 24 Jan 2024 10:32:44 -0500 Subject: [PATCH] fix: wrong download url --- protocols/s5.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/protocols/s5.go b/protocols/s5.go index 4f24b05..cb88e10 100644 --- a/protocols/s5.go +++ b/protocols/s5.go @@ -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://s5.%s/api/s5/download/%s", domain, hashStr) + return fmt.Sprintf("https://s5.%s/s5/download/%s", domain, hashStr) }