nak req: --force-pre-auth flag.

This commit is contained in:
fiatjaf
2024-07-10 14:48:02 -03:00
parent 441ee9a5ed
commit ac00c5065f
4 changed files with 47 additions and 5 deletions

View File

@@ -145,7 +145,7 @@ example:
// try to connect to the relays here
var relays []*nostr.Relay
if relayUrls := c.Args().Slice(); len(relayUrls) > 0 {
_, relays = connectToAllRelays(ctx, relayUrls)
_, relays = connectToAllRelays(ctx, relayUrls, false)
if len(relays) == 0 {
log("failed to connect to any of the given relays.\n")
os.Exit(3)