Skip to content

Commit

Permalink
Merge pull request GDSC-snowflowerthon#24 from GDSC-snowflowerthon/fe…
Browse files Browse the repository at this point in the history
…at/changeInfo-22

[feat] setting에 접근 권한 변경
  • Loading branch information
yunji118 authored Jan 11, 2024
2 parents d137408 + 4140776 commit 6247264
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ public SecurityFilterChain filterChain(HttpSecurity http) throws Exception {
.cors(cors -> cors.configurationSource(corsConfigurationSource()))
.authorizeRequests()
.requestMatchers("/disaster/**").authenticated()
.requestMatchers("/setting/**").authenticated()
.requestMatchers(HttpMethod.OPTIONS, "/**").permitAll() //prefilght request 허용
.anyRequest().permitAll();

Expand Down

0 comments on commit 6247264

Please sign in to comment.