sandwich on Nostr: Ok, I think I understand. In general, you shouldn't have to set the URL. It handles ...
Ok, I think I understand. In general, you shouldn't have to set the URL. It handles detection and handles both ws (necessary for edge-cases and onion relays) and wss in the url setter. There's no harm in setting it manually ofc, but it's an unnecessary step.
Published at
2024-04-24 12:24:42Event JSON
{
"id": "aa4b9bca337aeb4c47ab58837e8ebf4fd85e32873091ac0f709425311092ff57",
"pubkey": "e771af0b05c8e95fcdf6feb3500544d2fb1ccd384788e9f490bb3ee28e8ed66f",
"created_at": 1713961482,
"kind": 1,
"tags": [
[
"p",
"63fe6318dc58583cfe16810f86dd09e18bfd76aabc24a0081ce2856f330504ed",
"wss://pyramid.fiatjaf.com/",
"Kieran"
],
[
"e",
"d56b3d565a0dd670bcb498898c47e075f2dae6dbe9e98720fccb13855248e662",
"wss://pyramid.fiatjaf.com/",
"root"
],
[
"e",
"8463b16f8fabb1cac9851d57dd2f976e77865b19569b2c82e05cdcb20f451027",
"wss://nos.lol/",
"mention"
],
[
"e",
"0c98dc2ddabae68d42faaae82a2f7f3a86fcdf56f78734edd0b64d442dedc875",
"wss://relay.snort.social/",
"reply"
]
],
"content": "Ok, I think I understand. In general, you shouldn't have to set the URL. It handles detection and handles both ws (necessary for edge-cases and onion relays) and wss in the url setter. There's no harm in setting it manually ofc, but it's an unnecessary step.",
"sig": "6940e7600b17e7d6bf370ff924c8b259342999fa7921019d5740ec70b1cc718c1e0764aacba26eb53c326b59c52960d531429ef309ae9f70f41cc4b346bcfe69"
}