code refactor

This commit is contained in:
MaysWind 2017-03-05 23:13:34 +08:00
parent 280858a513
commit b4d4757a22

View file

@ -35,7 +35,7 @@
};
var getDefaultRpcHost = function () {
var currentHost = $location.$$host;
var currentHost = $location.host();
if (currentHost) {
return currentHost;