이호영 이호영 2025-06-22
Redirect /publish/maintenance.html 삭제
@2a63bf5a583398adccc35ad4b3307183f185c363
src/main/webapp/WEB-INF/jsp/web/main/mainPage.jsp
--- src/main/webapp/WEB-INF/jsp/web/main/mainPage.jsp
+++ src/main/webapp/WEB-INF/jsp/web/main/mainPage.jsp
@@ -13,19 +13,6 @@
 <script src="/publish/js/swiper.min.js"></script>
 
 <script type="text/javascript">
-<%
-String clientIp = request.getHeader("X-Forwarded-For");
-if (clientIp == null || clientIp.isEmpty() || "unknown".equalsIgnoreCase(clientIp)) {
-    clientIp = request.getRemoteAddr();
-} 
-
-log("clientIp :: " + clientIp); // JSP 내장 메서드
-
-if (!"119.193.215.98".equals(clientIp)) {
-    response.sendRedirect("https://www.munjaon.co.kr/publish/maintenance.html");
-    return;
-}
-%>
 
 </script>
 
Add a comment
List