호스트 정보 처리 변경

This commit is contained in:
KNKIM 2021-12-21 10:27:23 +09:00
parent 8e31a9b478
commit ad415d885c

View File

@ -227,7 +227,7 @@ public class StringUtil extends StringUtils {
log.error("[ERROR] getHostName(..) : MalformedURLException " + e.toString());
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];
}