fix: 🐛

This commit is contained in:
codytseng 2025-03-27 23:21:25 +08:00
parent 7826364003
commit b576afb971
6 changed files with 23 additions and 11 deletions

View file

@ -142,6 +142,7 @@ export function getRelayListFromRelayListEvent(event?: Event) {
if (!url || !isWebsocketUrl(url)) return
const normalizedUrl = normalizeUrl(url)
if (!normalizedUrl) return
switch (type) {
case 'write':
relayList.write.push(normalizedUrl)