Compare commits
3 Commits
fee9b12395
...
main
| Author | SHA1 | Date | |
|---|---|---|---|
| 8fe6a32ede | |||
| d8af2f71c6 | |||
| a92d31e371 |
@@ -22,6 +22,7 @@ public class SecurityConfig {
|
||||
configuration.setAllowedOrigins(List.of("http://localhost:3000"));
|
||||
configuration.setAllowedMethods(List.of("GET","POST", "PUT","DELETE","OPTION"));
|
||||
configuration.setAllowedHeaders(List.of("*"));
|
||||
configuration.setAllowCredentials(true);
|
||||
return configuration;
|
||||
};
|
||||
cors.configurationSource(configurationSource);
|
||||
|
||||
Reference in New Issue
Block a user