support 1, 11 and 70 on NIP-11 list.

This commit is contained in:
fiatjaf
2024-02-13 12:24:06 -03:00
parent cd4c25c845
commit e174dd6a95

View File

@@ -20,7 +20,7 @@ func NewRelay() *Relay {
Info: &nip11.RelayInformationDocument{
Software: "https://github.com/fiatjaf/khatru",
Version: "n/a",
SupportedNIPs: make([]int, 0),
SupportedNIPs: []int{1, 11, 70},
},
upgrader: websocket.Upgrader{