blossom mirror to only take a URL and do its thing, not try to list blobs.

This commit is contained in:
fiatjaf
2026-01-18 14:47:28 -03:00
parent c0b85af734
commit 2a5ce3b249
6 changed files with 45 additions and 118 deletions

View File

@@ -153,7 +153,7 @@ example:
relayUrls = nostr.AppendUnique(relayUrls, c.Args().Slice()...)
relays := connectToAllRelays(ctx, c, relayUrls, nil,
nostr.PoolOptions{
AuthHandler: func(ctx context.Context, authEvent *nostr.Event) error {
AuthRequiredHandler: func(ctx context.Context, authEvent *nostr.Event) error {
return authSigner(ctx, c, func(s string, args ...any) {}, authEvent)
},
},