Skip to content

Commit

Permalink
HOTIFX: 리프레시 헤더 명 변경으로 인한 CORS 설정 변경
Browse files Browse the repository at this point in the history
  • Loading branch information
hyxklee committed Aug 20, 2024
1 parent 3e8ff68 commit 9c8c2db
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ public CorsConfigurationSource corsConfigurationSource() {
configuration.setAllowedOrigins(Arrays.asList("http://localhost:3000", "https://weeth.site", "https://www.weeth.site", "https://api.weeth.site", "http://192.168.45.100:3000", "https://release.d20ak9a5jaa0tr.amplifyapp.com"));
configuration.setAllowedMethods(Arrays.asList("GET", "POST", "PATCH", "DELETE"));
configuration.setAllowedHeaders(Arrays.asList("*"));
configuration.setExposedHeaders(Arrays.asList("Authorization, Authorization-refresh"));
configuration.setExposedHeaders(Arrays.asList("Authorization, Authorization_refresh"));
configuration.setAllowCredentials(true);

UrlBasedCorsConfigurationSource source = new UrlBasedCorsConfigurationSource();
Expand Down

0 comments on commit 9c8c2db

Please sign in to comment.