aboutsummaryrefslogtreecommitdiffstats
path: root/cmd
diff options
context:
space:
mode:
Diffstat (limited to 'cmd')
-rw-r--r--cmd/relay/main.go8
1 files changed, 8 insertions, 0 deletions
diff --git a/cmd/relay/main.go b/cmd/relay/main.go
index 86a29cb..78ee469 100644
--- a/cmd/relay/main.go
+++ b/cmd/relay/main.go
@@ -116,6 +116,14 @@ func main() {
116 }() 116 }()
117 } 117 }
118 118
119 wsHandler.SetRelayConfig(&wshandler.RelayInfoConfig{
120 Name: cfg.Relay.Name,
121 Description: cfg.Relay.Description,
122 Pubkey: cfg.Relay.Pubkey,
123 Contact: cfg.Relay.Contact,
124 Icon: cfg.Relay.Icon,
125 })
126
119 if cfg.Auth.Read.Enabled || cfg.Auth.Write.Enabled { 127 if cfg.Auth.Read.Enabled || cfg.Auth.Write.Enabled {
120 wsHandler.SetAuth(store) 128 wsHandler.SetAuth(store)
121 wsHandler.SetAuthConfig(&wshandler.AuthConfig{ 129 wsHandler.SetAuthConfig(&wshandler.AuthConfig{