호스트명 처리 보완 (로컬, 개발서버인 경우 처리)
This commit is contained in:
parent
cbd381200e
commit
37d300ee68
@ -166,7 +166,7 @@ public class StringUtil extends StringUtils {
|
||||
log.error("[ERROR] getHostName(..) : " + e.toString());
|
||||
return "";
|
||||
}
|
||||
|
||||
if("|localhost|nlib.nculture.org|nlib-dev.nculture.org|".contains(hostName)) hostName = "nlib";
|
||||
return (hostName.split("\\."))[0];
|
||||
}
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user