parent
e3be8e8828
commit
984e971949
@ -0,0 +1,2 @@
|
||||
.floatRight{float: right;}
|
||||
.clear{clear: both;}
|
@ -0,0 +1,20 @@
|
||||
function getBaseUrl() {
|
||||
var ishttps = 'https:' == document.location.protocol ? true : false;
|
||||
var url = window.location.host;
|
||||
if (ishttps) {
|
||||
url = 'https://' + url;
|
||||
} else {
|
||||
url = 'http://' + url;
|
||||
}
|
||||
return url;
|
||||
}
|
||||
function getWsBaseUrl() {
|
||||
var ishttps = 'https:' == document.location.protocol ? true : false;
|
||||
var url = window.location.host;
|
||||
if (ishttps) {
|
||||
url = 'wss://' + url;
|
||||
} else {
|
||||
url = 'ws://' + url;
|
||||
}
|
||||
return url;
|
||||
}
|
Loading…
Reference in new issue