mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-07-19 09:24:51 +00:00
refactor(client) HOST
This commit is contained in:
parent
956ca1dd62
commit
03a6c2c594
1 changed files with 2 additions and 2 deletions
|
|
@ -23,8 +23,8 @@ var Util, DOM, CloudFunc;
|
|||
this.MIN_ONE_PANEL_WIDTH = 1155;
|
||||
this.OLD_BROWSER = false;
|
||||
this.HOST = (function() {
|
||||
var lLocation = document.location;
|
||||
return lLocation.protocol + '//' + lLocation.host;
|
||||
var location = document.location;
|
||||
return location.protocol + '//' + location.host;
|
||||
})();
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue