[FO] 개인정보, 약관 팝업 처리 [HTML] 날짜: 2025년 6월 23일 월요일 오전 10:52:39

This commit is contained in:
김현주
2025-06-23 14:44:05 +09:00
parent 2e131998b5
commit 510ea5ec65
13 changed files with 873 additions and 59 deletions

View File

@@ -72,7 +72,7 @@ public class FrontSecurityConfig {
.collect(Collectors.toList());
// front - 익명 사용자 접근 허용 URI 등록 (admin 과 달리 공개/비공개 URL 이 존재한다)
FrontPublicAccess.getInstance().setURIs(List.of("/", "/user/register"));
FrontPublicAccess.getInstance().setURIs(List.of("/", "/user/register", "/policy/**"));
http.authorizeHttpRequests(
(auth) ->

View File

@@ -12,13 +12,19 @@ import org.springframework.web.bind.annotation.RequestMapping;
@RequestMapping(path = "/policy")
public class PolicyUIController {
/**
* 이용약관 팝업 화면
*/
@GetMapping(path = "/terms")
public String terms() {
return "policy/terms";
return "policy/terms-wrap";
}
/**
* 개인정보처리방침 팝업 화면
*/
@GetMapping(path = "/privacy")
public String privacy() {
return "policy/privacy";
return "policy/privacy-wrap";
}
}