[FO] 개인정보, 약관 팝업 처리 [HTML] 날짜: 2025년 6월 23일 월요일 오전 10:52:39
This commit is contained in:
@@ -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) ->
|
||||
|
||||
@@ -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";
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user