nak serve

This commit is contained in:
fiatjaf
2024-08-19 12:43:22 -03:00
parent 9690dc70cb
commit 2edfa5cbea
7 changed files with 208 additions and 23 deletions

View File

@@ -85,8 +85,8 @@ var bunker = &cli.Command{
return err
}
npub, _ := nip19.EncodePublicKey(pubkey)
bold := color.New(color.Bold).Sprint
italic := color.New(color.Italic).Sprint
bold := color.New(color.Bold).Sprintf
italic := color.New(color.Italic).Sprintf
// this function will be called every now and then
printBunkerInfo := func() {
@@ -132,7 +132,7 @@ var bunker = &cli.Command{
)
log("listening at %v:\n pubkey: %s \n npub: %s%s%s\n to restart: %s\n bunker: %s\n\n",
bold(relayURLs),
bold("%v", relayURLs),
bold(pubkey),
bold(npub),
authorizedKeysStr,