From f83408fbada677368cfec172879e4d6bea5fa788 Mon Sep 17 00:00:00 2001 From: gammazero Date: Mon, 11 Sep 2023 13:21:40 -0700 Subject: [PATCH] Use spearate path for encrypted find requests --- find/client/dhash_client.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/find/client/dhash_client.go b/find/client/dhash_client.go index cd97df7..f465e61 100644 --- a/find/client/dhash_client.go +++ b/find/client/dhash_client.go @@ -82,7 +82,7 @@ func NewDHashClient(options ...Option) (*DHashClient, error) { } dhsAPI = &dhstoreHTTP{ c: opts.httpClient, - dhFindURL: dhsURL.JoinPath(findPath), + dhFindURL: dhsURL.JoinPath("encrypted", findPath), dhMetadataURL: dhsURL.JoinPath(metadataPath), } }