호스트 정보 처리 변경
This commit is contained in:
parent
8e31a9b478
commit
ad415d885c
@ -227,7 +227,7 @@ public class StringUtil extends StringUtils {
|
|||||||
log.error("[ERROR] getHostName(..) : MalformedURLException " + e.toString());
|
log.error("[ERROR] getHostName(..) : MalformedURLException " + e.toString());
|
||||||
return "";
|
return "";
|
||||||
}
|
}
|
||||||
if("|localhost|".contains(hostName)) hostName = NlibProperty.getString("domain.host.localhost", "nlib-dev");
|
if("|localhost|".contains(hostName)) hostName = NlibProperty.getString("nlib.council.dns.host", "nlib-dev");
|
||||||
return (hostName.split("\\."))[0];
|
return (hostName.split("\\."))[0];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user