Answers for "how to disable the cors in spring boot"

1

CORS with Spring Boot

@CrossOrigin
Posted by: Guest on April-26-2021
0

how to disable the cors in spring boot

@EnableWebSecurity
public class WebSecurityConfig extends WebSecurityConfigurerAdapter {

	@Override
	protected void configure(HttpSecurity http) throws Exception {
		http.cors().and()...
	}
}
Posted by: Guest on June-12-2021

Code answers related to "how to disable the cors in spring boot"

Code answers related to "Java"

Java Answers by Framework

Browse Popular Code Answers by Language