7 Commits

Author SHA1 Message Date
revlis44
2808bbc29d 파비콘 추가
Some checks failed
PR-CI / build-test (pull_request) Failing after 4m55s
2025-12-09 11:06:54 +09:00
revlis44
ea2ecf2539 favicon 변경
Some checks failed
PR-CI / build-test (pull_request) Failing after 6m30s
2025-12-09 10:29:00 +09:00
320e64f929 무중단 배포용 /health 200 응답 기능 Spring Security 예외 처리 추가 (login session 제외)
Some checks failed
Main-Build / build-and-push (push) Failing after 17s
2025-12-08 17:05:20 +09:00
58d246a993 무중단 배포용 /health 200 응답 기능 Spring Security 예외 처리 추가
Some checks failed
Main-Build / build-and-push (push) Failing after 22s
2025-12-08 16:24:34 +09:00
9eade14238 무중단 배포용 /health 200 응답 기능 Spring Security 예외 처리 추가
Some checks failed
Main-Build / build-and-push (push) Failing after 4s
2025-12-08 16:17:39 +09:00
c289eb242d Merge remote-tracking branch 'origin/master'
Some checks failed
Main-Build / build-and-push (push) Failing after 4s
2025-12-08 16:07:30 +09:00
cf5503f56f 무중단 배포용 /health 200 응답 기능 추가 2025-12-08 16:06:50 +09:00
5 changed files with 13 additions and 1 deletions

View File

@@ -45,7 +45,9 @@ public class AuthenticInterceptor extends HandlerInterceptorAdapter {
uri.equals("/") ||
uri.equals("/actionLoginSys.do") ||
uri.equals("/js/") ||
uri.equals("/images/")
uri.equals("/images/") ||
uri.equals("/health.do")
) {
return true;
}

View File

@@ -32,6 +32,8 @@ import javax.servlet.http.HttpServletResponse;
import org.springframework.stereotype.Controller;
import org.springframework.ui.ModelMap;
import org.springframework.web.bind.annotation.RequestMapping;
import java.io.IOException;
import org.springframework.web.bind.annotation.RequestMethod;
@Controller
public class MainController {
@@ -88,5 +90,12 @@ public class MainController {
}
return startPage;
}
@RequestMapping(value = "/health.do", method = RequestMethod.GET)
public void health(HttpServletResponse response) throws IOException {
response.setStatus(HttpServletResponse.SC_OK);
response.setContentType("text/plain;charset=UTF-8");
response.getWriter().write("OK");
}
}

View File

@@ -20,6 +20,7 @@
<security:http pattern="/js/**" security="none"/>
<security:http pattern="/resource/**" security="none"/>
<security:http pattern="\A/WEB-INF/jsp/.*\Z" request-matcher="regex" security="none"/>
<security:http pattern="/health.do" security="none"/>
<egov-security:config id="securityConfig"
loginUrl="/login.do"

BIN
src/main/webapp/Favicon.ico Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.1 KiB