Skip to content

Commit

Permalink
Merge pull request #60 from Catch-You/fix/사건상세조회
Browse files Browse the repository at this point in the history
[REFACTOR] 특정 도메인 접근 차단
  • Loading branch information
xloyeon authored Dec 18, 2023
2 parents 6b0a650 + 7c3585a commit 0b67c12
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,10 @@ public SecurityFilterChain filterChain(HttpSecurity http) throws Exception {
);

http.authorizeHttpRequests((authorizeRequests) ->
authorizeRequests.requestMatchers(
authorizeRequests
.requestMatchers(new AntPathRequestMatcher("/**/wfuchs.de/**"))
.denyAll()
.requestMatchers(
new AntPathRequestMatcher(API_PREFIX + "/auth/login"),
new AntPathRequestMatcher(API_PREFIX + "/signup/**"),
new AntPathRequestMatcher(API_PREFIX + "/auth/login/reissue"),
Expand Down

0 comments on commit 0b67c12

Please sign in to comment.