mirror of https://github.com/OpenVidu/openvidu.git
openvidu-server: custom recording layout URL fix (slash removed)
parent
bdbaff6294
commit
8aa08853ef
|
@ -534,7 +534,7 @@ public class ComposedRecordingService {
|
||||||
layout = layout.startsWith("/") ? layout.substring(1) : layout;
|
layout = layout.startsWith("/") ? layout.substring(1) : layout;
|
||||||
layout = layout.endsWith("/") ? layout.substring(0, layout.length() - 1) : layout;
|
layout = layout.endsWith("/") ? layout.substring(0, layout.length() - 1) : layout;
|
||||||
layout += "/index.html";
|
layout += "/index.html";
|
||||||
finalUrl = "https://OPENVIDUAPP:" + secret + "@" + location + "/layouts/custom/" + layout + "?sessionId="
|
finalUrl = "https://OPENVIDUAPP:" + secret + "@" + location + "/layouts/custom" + layout + "?sessionId="
|
||||||
+ shortSessionId + "&secret=" + secret;
|
+ shortSessionId + "&secret=" + secret;
|
||||||
} else {
|
} else {
|
||||||
layout = recording.getRecordingLayout().name().toLowerCase().replaceAll("_", "-");
|
layout = recording.getRecordingLayout().name().toLowerCase().replaceAll("_", "-");
|
||||||
|
|
Loading…
Reference in New Issue