mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-01-23 18:55:26 +00:00
refactor(client) HOST
This commit is contained in:
parent
625b9fd608
commit
828154f95b
1 changed files with 2 additions and 5 deletions
|
|
@ -22,11 +22,8 @@ var Util, DOM, CloudFunc;
|
|||
this.LIBDIRCLIENT = '/lib/client/';
|
||||
this.MIN_ONE_PANEL_WIDTH = 1155;
|
||||
this.OLD_BROWSER = false;
|
||||
this.HOST = (function() {
|
||||
var location = document.location;
|
||||
return location.protocol + '//' + location.host;
|
||||
})();
|
||||
|
||||
this.HOST = location.origin ||
|
||||
location.protocol + '//' + location.host;
|
||||
/**
|
||||
* Функция привязываеться ко всем ссылкам и
|
||||
* загружает содержимое каталогов
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue