보안 검토
This commit is contained in:
@@ -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