initial broken draft of relays page.

This commit is contained in:
fiatjaf
2023-07-11 18:19:11 -03:00
parent bfa2f5f537
commit d734b189d9
7 changed files with 174 additions and 33 deletions

View File

@@ -92,6 +92,8 @@ var kindNIPS = map[int]string{
30078: "78",
}
var urlMatcher = regexp.MustCompile(`^(wss?:\/\/)?[\w-_.]+\.[\w-_.]+(\/[\/\w]*)?$`)
type ClientReference struct {
Name string
URL string