From 217906cbf87a2d51a8bf2a8e0493ae6fdaef5569 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miroslav=20=C5=A0ediv=C3=BD?= Date: Sat, 9 Apr 2022 19:01:45 +0200 Subject: [PATCH] fix path. --- internal/config/room.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/config/room.go b/internal/config/room.go index a54383a..f958390 100644 --- a/internal/config/room.go +++ b/internal/config/room.go @@ -264,7 +264,7 @@ func (s *Room) GetRoomUrl(roomName string) string { if strings.HasPrefix(instanceUrl.Host, "*.") { instanceUrl.Host = roomName + "." + strings.TrimPrefix(instanceUrl.Host, "*.") } else { - instanceUrl.Path = path.Join(instanceUrl.Path, s.PathPrefix, roomName, "/") + instanceUrl.Path = path.Join(instanceUrl.Path, s.PathPrefix, roomName) + "/" } return instanceUrl.String()