mirror of
https://github.com/nbd-wtf/go-nostr.git
synced 2025-12-04 18:01:12 +01:00
added function to fetch NIP-11 documents
This commit is contained in:
@@ -5,6 +5,7 @@ import (
|
||||
"strings"
|
||||
)
|
||||
|
||||
// NormalizeURL normalizes the url and replaces http://, https:// schemes by ws://, wss://.
|
||||
func NormalizeURL(u string) string {
|
||||
if u == "" {
|
||||
return ""
|
||||
|
||||
Reference in New Issue
Block a user