update NIP-27 example in README

This commit is contained in:
Anderson Juhasc
2025-08-27 10:27:18 -03:00
committed by fiatjaf_
parent a3fcd79545
commit 23aebbd341

View File

@@ -169,8 +169,10 @@ for (let block of nip27.parse(evt.content)) {
case 'video':
case 'audio':
console.log("it's a media url:", block.url)
break
case 'relay':
console.log("it's a websocket url, probably a relay address:", block.url)
break
default:
break
}