We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4484642 commit fa3f2f1Copy full SHA for fa3f2f1
src/main/kotlin/com/salt/developerjokes/api/SecurityConfig.kt
@@ -29,6 +29,7 @@ class SecurityConfig {
29
@Bean
30
fun defaultSecurityFilterChain(http: HttpSecurity): SecurityFilterChain {
31
return http.csrf().disable()
32
+ .cors().disable()
33
.authorizeHttpRequests()
34
.requestMatchers("/login").permitAll()
35
.requestMatchers(HttpMethod.HEAD, "/**").permitAll()
0 commit comments