From 1ea31a28ee6aae4e137f4aaae41ca4771c6a53ab Mon Sep 17 00:00:00 2001 From: Barry Deen Date: Tue, 29 Oct 2024 17:46:32 -0400 Subject: [PATCH] test remove auth --- main.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/main.go b/main.go index 407a610..230d4ec 100644 --- a/main.go +++ b/main.go @@ -292,9 +292,9 @@ func makeNewRelay(relayType string, w http.ResponseWriter, r *http.Request) *kha bl := blossom.New(outboxRelay, addr) bl.Store = blossom.EventStoreBlobIndexWrapper{Store: outboxDB, ServiceURL: bl.ServiceURL} bl.StoreBlob = append(bl.StoreBlob, func(ctx context.Context, sha256 string, body []byte) error { - if khatru.GetAuthed(ctx) != nPubToPubkey(config.OwnerNpub) { - return fmt.Errorf("auth-required: only the relay owner can store media") - } + // if khatru.GetAuthed(ctx) != nPubToPubkey(config.OwnerNpub) { + // return fmt.Errorf("auth-required: only the relay owner can store media") + // } file, err := fs.Create(config.BlossomPath + sha256) if err != nil {