소유확인 페이지 추가
This commit is contained in:
@@ -18,6 +18,7 @@ public class SecurityConfig {
|
||||
.requestMatchers(
|
||||
"/",
|
||||
"/index.do",
|
||||
"/naver1f8222353b24a591d74c3759bba58059.html",
|
||||
"/robots.txt",
|
||||
"/sitemap.xml",
|
||||
"/portfolio.do",
|
||||
|
||||
@@ -0,0 +1 @@
|
||||
naver-site-verification: naver1f8222353b24a591d74c3759bba58059.html
|
||||
@@ -38,6 +38,10 @@ class PublicPageControllerTest {
|
||||
mockMvc.perform(get("/sitemap.xml"))
|
||||
.andExpect(status().isOk())
|
||||
.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
|
||||
|
||||
Reference in New Issue
Block a user