aboutsummaryrefslogtreecommitdiffstats
path: root/cmd
diff options
context:
space:
mode:
Diffstat (limited to 'cmd')
-rw-r--r--cmd/relay/main.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/cmd/relay/main.go b/cmd/relay/main.go
index 78ee469..601b2e8 100644
--- a/cmd/relay/main.go
+++ b/cmd/relay/main.go
@@ -123,6 +123,7 @@ func main() {
123 Contact: cfg.Relay.Contact, 123 Contact: cfg.Relay.Contact,
124 Icon: cfg.Relay.Icon, 124 Icon: cfg.Relay.Icon,
125 }) 125 })
126 wsHandler.SetAllowedKinds(cfg.Relay.AllowedKinds)
126 127
127 if cfg.Auth.Read.Enabled || cfg.Auth.Write.Enabled { 128 if cfg.Auth.Read.Enabled || cfg.Auth.Write.Enabled {
128 wsHandler.SetAuth(store) 129 wsHandler.SetAuth(store)