From 0cc39e1720a0360f33e7a94a51093db0294e2c9a Mon Sep 17 00:00:00 2001 From: Christian Iversen Date: Mon, 13 Jan 2025 21:16:01 +0100 Subject: [PATCH] * Mention z2m version 2.x url rewriting in config reference --- doc/config-reference.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/doc/config-reference.md b/doc/config-reference.md index 23567267..9c2f7a5c 100644 --- a/doc/config-reference.md +++ b/doc/config-reference.md @@ -54,6 +54,13 @@ bridge: # if you have more than one server. z2m: some-server: + # The websocket url for z2m, starting with "ws://". + # + # For z2m version 2.x, the url must end in `/api?token=`. + # For z2m version 1.x, this is optional, but supported. + # + # Therefore, Bifrost will adjust the urls if needed. + # A message will be logged with the rewritten url if this happens. url: ws://10.00.0.100:8080 other-server: url: ws://10.10.0.102:8080