Skip to content

Commit

Permalink
disable cors
Browse files Browse the repository at this point in the history
  • Loading branch information
stritti committed Aug 4, 2023
1 parent 860b7f6 commit 200f3ea
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/main/java/de/sybit/sygotchi/config/SecurityConfig.java
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@ public class SecurityConfig {
@Bean
public SecurityFilterChain securityFilterChain(HttpSecurity http) throws Exception {
http
.csrf()
.disable()
.csrf().disable()
.cors().disable()
.headers().frameOptions().disable()
.and()
.authorizeHttpRequests()
Expand Down

0 comments on commit 200f3ea

Please sign in to comment.