hzrd149 / nostrudel

A sandbox for exploring nostr
https://nostrudel.ninja/
MIT License
126 stars 38 forks source link

Automagically add https to privacy instance URLs #118

Open alltheseas opened 8 months ago

alltheseas commented 8 months ago

what happens

When I input into private reddit instance the following partial URL reddit.simo.sh, nostrudel does not recognize it as a working URL.

Screenshot 2024-01-11 at 4 44 12 PM

When I add the https://reddit.simo.sh this is recognized as a valid URL

Screenshot 2024-01-11 at 4 44 19 PM

Same applies for nitter box etc.

suggestion

automagically add https:// prefix if missing after user enters in partial URL