Skip to content

Commit

Permalink
Merge pull request #130 from dnd-side-project/develop
Browse files Browse the repository at this point in the history
infra test
  • Loading branch information
HunSeongPark authored Feb 24, 2024
2 parents 6b75cde + 9fb1365 commit 99dce85
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ public SecurityFilterChain securityFilterChain(HttpSecurity http) throws Excepti
.sessionManagement().sessionCreationPolicy(SessionCreationPolicy.STATELESS).and()
.authorizeHttpRequests(auth -> {
auth.requestMatchers(PathRequest.toStaticResources().atCommonLocations()).permitAll()
.mvcMatchers("/swagger-ui/**", "/v3/api-docs/**", "/actuator/**", "/terms2/**").permitAll();
.mvcMatchers("/swagger-ui/**", "/v3/api-docs/**", "/actuator/**", "/terms/**").permitAll();
Arrays.stream(AUTH_WHITE_LIST)
.forEach(authWhiteListElem ->
auth.mvcMatchers(BASE_URL + authWhiteListElem).permitAll());
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
@Controller
public class TermsController {

@GetMapping("/terms2")
@GetMapping("/terms")
public String terms() {
return "terms";
}
Expand Down

0 comments on commit 99dce85

Please sign in to comment.