openvidu-server: custom recording layout URL fix (slash removed)

pull/173/head
pabloFuente 2018-12-12 14:50:56 +01:00
parent bdbaff6294
commit 8aa08853ef
1 changed files with 1 additions and 1 deletions

View File

@ -534,7 +534,7 @@ public class ComposedRecordingService {
layout = layout.startsWith("/") ? layout.substring(1) : layout;
layout = layout.endsWith("/") ? layout.substring(0, layout.length() - 1) : layout;
layout += "/index.html";
finalUrl = "https://OPENVIDUAPP:" + secret + "@" + location + "/layouts/custom/" + layout + "?sessionId="
finalUrl = "https://OPENVIDUAPP:" + secret + "@" + location + "/layouts/custom" + layout + "?sessionId="
+ shortSessionId + "&secret=" + secret;
} else {
layout = recording.getRecordingLayout().name().toLowerCase().replaceAll("_", "-");