OceanSlim on Nostr: I think connecting properly with postman now. time to test... in production lol. btw ...
I think
connecting properly with postman now. time to test... in production lol.
btw 👇
var wsServer = &websocket.Server{
Handshake: func(config *websocket.Config, r *http.Request) error {
// Skip origin check
return nil
},
Handler: websocket.Handler(relay.WebSocketHandler),
}
Published at
2024-08-01 14:40:44Event JSON
{
"id": "dea0446b481571ef0b28e69b5679cd5613ed0518ac2ace8fe0a25925bedf180a",
"pubkey": "16f1a0100d4cfffbcc4230e8e0e4290cc5849c1adc64d6653fda07c031b1074b",
"created_at": 1722523244,
"kind": 1,
"tags": [
[
"e",
"d9f85bf2774e16d58a3e615381f6012c719962c282b047bd3cb0561354ff69a4",
"wss://wheat.happytavern.co/",
"root"
],
[
"e",
"1afb022b9ccfae691bea78e313e0a99ac7c50a1fcb381ff19b8cb6045bddecc8",
"wss://relay.primal.net/",
"reply"
],
[
"p",
"70122128273bdc07af9be7725fa5c4bc0fc146866bec38d44360dc4bc6cc18b9",
"wss://filter.nostr.wine/",
"mention"
],
[
"p",
"460c25e682fda7832b52d1f22d3d22b3176d972f60dcdc3212ed8c92ef85065c",
"",
"mention"
]
],
"content": "I think https://i.giphy.com/media/v1.Y2lkPTc5MGI3NjExc3djZjJpdHhycDFzMWd3ZjJsZXdyaGt3M2ltb2M0NmRuYWRrY2ViYyZlcD12MV9pbnRlcm5hbF9naWZfYnlfaWQmY3Q9Zw/3owzVXoDN8iP0w3T68/giphy.gif\n\nconnecting properly with postman now. time to test... in production lol. \n\nbtw 👇 \nvar wsServer = \u0026websocket.Server{\n Handshake: func(config *websocket.Config, r *http.Request) error {\n // Skip origin check\n return nil\n },\n Handler: websocket.Handler(relay.WebSocketHandler),\n}",
"sig": "d287147a659eb59d1c28662ffa362eebc02c57329644cf78d7e3cae77df147fec44c85e4ae213854e5b2cb7959d03611b4509db4fffa48e5c4fc82d114053ba0"
}