freezer-web-ui/disaster_recovery/static/freezer/js/freezer.common.js
zhurong 12d82d9d17 Remove the unused url_path
Remove the unused url_path in freezer.common.js

Change-Id: Ie861da6e82d4cc602288634c3229f95c6fd4eb21
2016-08-04 15:08:34 +00:00

17 lines
285 B
JavaScript

var Browser = (function () {
var url = null;
url = $(location).attr("protocol");
url += "//";
url += $(location).attr("host");
url += WEBROOT + 'disaster_recovery/api/';
return {
get_url : function () {
return url;
}
}
})();