Redirect /publish/maintenance.html 삭제
This commit is contained in:
parent
759f7a3dc4
commit
2a63bf5a58
@ -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>
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user