Compare commits

..

3 Commits

Author SHA1 Message Date
8fe6a32ede Merge branch 'main' of https://git.byeori.cloud/admin/ocr-java
pull merge
2026-03-25 23:20:05 +09:00
d8af2f71c6 Merge branch 'main' of https://git.byeori.cloud/admin/ocr-java
merge
2026-02-18 15:19:59 +09:00
a92d31e371 보안 검토 2026-02-03 00:15:27 +09:00

View File

@@ -22,6 +22,7 @@ public class SecurityConfig {
configuration.setAllowedOrigins(List.of("http://localhost:3000")); configuration.setAllowedOrigins(List.of("http://localhost:3000"));
configuration.setAllowedMethods(List.of("GET","POST", "PUT","DELETE","OPTION")); configuration.setAllowedMethods(List.of("GET","POST", "PUT","DELETE","OPTION"));
configuration.setAllowedHeaders(List.of("*")); configuration.setAllowedHeaders(List.of("*"));
configuration.setAllowCredentials(true);
return configuration; return configuration;
}; };
cors.configurationSource(configurationSource); cors.configurationSource(configurationSource);