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