SnowCait on Nostr: Invalid URL だとエラー発生したけど事前に normalize ...
Invalid URL だとエラー発生したけど事前に normalize でチェックされてるから大丈夫なのかな
error: Uncaught (in promise) SyntaxError: Invalid URL: ''
const ws = new WebSocket('');
^
at new WebSocket (ext:deno_websocket/01_websocket.js:153:13)
Published at
2024-11-11 04:28:40Event JSON
{
"id": "2041fed6ffd430f42f2e977bd95a26634d36e6d6035cd6ce0e7f399e5d710004",
"pubkey": "83d52b4363d2d1bc5a098de7be67c120bfb7c0cee8efefd8eb6e42372af24689",
"created_at": 1731299320,
"kind": 1,
"tags": [
[
"e",
"a8ccb767988127eca7b044cc3e2d459eb995a61bbf6aa7bb2e60cd6e0fcacb56",
"",
"root"
],
[
"e",
"1d6f1df3029f5c0d98ac23bc0c313cf6938a757ef8eba307b1960324d6b0fcdf",
"",
"reply"
],
[
"p",
"8c59239319637f97e007dad0d681e65ce35b1ace333b629e2d33f9465c132608"
],
[
"p",
"83d52b4363d2d1bc5a098de7be67c120bfb7c0cee8efefd8eb6e42372af24689"
]
],
"content": "Invalid URL だとエラー発生したけど事前に normalize でチェックされてるから大丈夫なのかな\n\nerror: Uncaught (in promise) SyntaxError: Invalid URL: ''\nconst ws = new WebSocket('');\n ^\n at new WebSocket (ext:deno_websocket/01_websocket.js:153:13)",
"sig": "78d0ee5e95cfa8ff35b67c77f1c6d757ca54ba07c37a00fed19c29ec7f58b24d45589e915977e17bdcc141da5c0e936825f8810ca08f9eade1ecede38540da2b"
}