[임시]선거문자 접근 IP 개발서버 활성화

This commit is contained in:
hehihoho3@gmail.com 2025-10-15 17:37:23 +09:00
parent d41c503de7
commit 31df8725ef

View File

@ -200,8 +200,16 @@ public class MjonMsgCampainTWDataController {
// 외부에서 선거발송 페이지로 들어오는걸 막음
// 20250102 이호영
if (!"localhost".equals(hostName)) {
return "redirect:/web/mjon/msgdata/selectMsgDataView.do";
System.out.println("hostName :: "+ hostName);
System.out.println("hostName :: "+ hostName);
System.out.println("hostName :: "+ hostName);
System.out.println("hostName :: "+ hostName);
System.out.println("hostName :: "+ hostName);
System.out.println("hostName :: "+ hostName);
if (!"localhost".equals(hostName)
&& !"119.193.215.98".equals(hostName))
{
return "redirect:/web/mjon/msgdata/selectMsgDataView.do";
}
String categoryType = cateCode.getCateType();