Event JSON
{
"id": "42e8ef526940cf51ab1681326c675e1c48f801fb59664a07089ab3fe5168ec1b",
"pubkey": "e771af0b05c8e95fcdf6feb3500544d2fb1ccd384788e9f490bb3ee28e8ed66f",
"created_at": 1713963664,
"kind": 1,
"tags": [
[
"p",
"63fe6318dc58583cfe16810f86dd09e18bfd76aabc24a0081ce2856f330504ed",
"wss://pyramid.fiatjaf.com/",
"Kieran"
],
[
"e",
"d56b3d565a0dd670bcb498898c47e075f2dae6dbe9e98720fccb13855248e662",
"wss://pyramid.fiatjaf.com/",
"root"
],
[
"e",
"5b9af1beb50447327c1bdc4cef642bc1acc521e1fe1e53f59c39285b8417a080",
"wss://nos.lol/",
"mention"
],
[
"e",
"d960036fe2caf2cdb7fc3b118a5a62d72672306b339348853e4a33f7924092f6",
"wss://nos.lol/",
"reply"
]
],
"content": "Thanks! While that may appear to support many cases, it doesn't support the case where a relay isn't at root (in a subdirectory). Unset url case is handled here:\nhttps://github.com/sandwichfarm/myrelay.page/blob/main/src/lib/core/MRP.ts#L119-L128\n\nIt additionally handles potential issue where someone attempts to connect to `wss` from `http` or vice-versa (would throw client-side errors) by clamping websocket/http SSL in alignment with browser limitations, which is implicitly compatible with onion.",
"sig": "096776dc0b0d1e0c1170f1d9c2c8899c7f9933fd304c677dd1b98e5a64b1d0447af4f96323546c57a38f019bb9aa73e81517ead4558d5f2ba6368aada870d624"
}