Why Nostr? What is Njump?
2025-05-20 07:38:30
in reply to

cody on Nostr: ws://ws/oxtrdevav64z64yb7x6rjg4ntzqjhedm5b5zjqulugknhzr46ny2qbad.onion The issue is ...

ws://ws/oxtrdevav64z64yb7x6rjg4ntzqjhedm5b5zjqulugknhzr46ny2qbad.onion

The issue is that there's an extra ws/ in the URL, which actually makes xxx.onion part of the path, not the host.

JavaScript does have a URL class too. To be more rigorous, I should extract the host and match the suffix there.
Author Public Key
npub1syjmjy0dp62dhccq3g97fr87tngvpvzey08llyt6ul58m2zqpzps9wf6wl