소유확인 페이지 추가

This commit is contained in:
CSKIM
2026-05-08 18:09:44 +09:00
parent 7d5f4582fa
commit e90e8bfc34
3 changed files with 6 additions and 0 deletions
@@ -18,6 +18,7 @@ public class SecurityConfig {
.requestMatchers( .requestMatchers(
"/", "/",
"/index.do", "/index.do",
"/naver1f8222353b24a591d74c3759bba58059.html",
"/robots.txt", "/robots.txt",
"/sitemap.xml", "/sitemap.xml",
"/portfolio.do", "/portfolio.do",
@@ -0,0 +1 @@
naver-site-verification: naver1f8222353b24a591d74c3759bba58059.html
@@ -38,6 +38,10 @@ class PublicPageControllerTest {
mockMvc.perform(get("/sitemap.xml")) mockMvc.perform(get("/sitemap.xml"))
.andExpect(status().isOk()) .andExpect(status().isOk())
.andExpect(content().string(org.hamcrest.Matchers.containsString("https://iotdoor.kr/portfolio.do"))); .andExpect(content().string(org.hamcrest.Matchers.containsString("https://iotdoor.kr/portfolio.do")));
mockMvc.perform(get("/naver1f8222353b24a591d74c3759bba58059.html"))
.andExpect(status().isOk())
.andExpect(content().string(org.hamcrest.Matchers.containsString("naver-site-verification")));
} }
@Test @Test