Fix indentation for ESLint
This commit is contained in:
parent
abbd27d1cb
commit
d110987935
|
@ -51,14 +51,14 @@ function initCycle() {
|
|||
if ( scale == '0' || scale == 'auto' ) changeScale();
|
||||
|
||||
if (monitorData[monIdx].janusEnabled) {
|
||||
if (ZM_JANUS_PATH) {
|
||||
server = ZM_JANUS_PATH;
|
||||
} else if (window.location.protocol=='https:') {
|
||||
// Assume reverse proxy setup for now
|
||||
server = "https://" + window.location.hostname + "/janus";
|
||||
} else {
|
||||
server = "http://" + window.location.hostname + ":8088/janus";
|
||||
}
|
||||
if (ZM_JANUS_PATH) {
|
||||
server = ZM_JANUS_PATH;
|
||||
} else if (window.location.protocol=='https:') {
|
||||
// Assume reverse proxy setup for now
|
||||
server = "https://" + window.location.hostname + "/janus";
|
||||
} else {
|
||||
server = "http://" + window.location.hostname + ":8088/janus";
|
||||
}
|
||||
opaqueId = "streamingtest-"+Janus.randomString(12);
|
||||
Janus.init({debug: "all", callback: function() {
|
||||
janus = new Janus({
|
||||
|
|
Loading…
Reference in New Issue