Skip to content

Commit

Permalink
fix path.
Browse files Browse the repository at this point in the history
  • Loading branch information
m1k1o committed Apr 9, 2022
1 parent 8800c02 commit 217906c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/config/room.go
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down

0 comments on commit 217906c

Please sign in to comment.