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 1a424f9 commit 67c032bCopy full SHA for 67c032b
backend/src/main/java/com/together/backend/global/config/SecurityConfig.java
@@ -37,7 +37,12 @@ public CorsConfigurationSource corsConfigurationSource() {
37
config.setAllowCredentials(true);
38
config.addAllowedOrigin("https://7-together.kro.kr");
39
config.addAllowedOrigin("http://localhost:3000");
40
- config.addAllowedHeader("*");
+
41
+ config.addAllowedHeader("Origin");
42
+ config.addAllowedHeader("X-Requested-With");
43
+ config.addAllowedHeader("Content-Type");
44
+ config.addAllowedHeader("Accept");
45
+ config.addAllowedHeader("Authorization"); // 필요시
46
config.addAllowedMethod("*");
47
config.addExposedHeader("Set-Cookie");
48
0 commit comments