Skip to content

Commit

Permalink
Merge pull request #24 from potenday-project/develop
Browse files Browse the repository at this point in the history
cors 테스트
  • Loading branch information
HwangHoYoon authored Dec 15, 2023
2 parents 071275d + ff9a4bc commit 8fd14f0
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ public CorsConfigurationSource corsConfigurationSource() {
CorsConfiguration config = new CorsConfiguration();

config.setAllowCredentials(true);
config.setAllowedOrigins(List.of("http://localhost:3000"));
config.setAllowedOrigins(List.of("http://localhost:3000", "https://tikitaka.chat", "https://tikitakachatdata.com"));
config.setAllowedMethods(List.of("GET", "POST", "PUT", "DELETE", "PATCH", "OPTIONS"));
config.setAllowedHeaders(List.of("*"));
config.setExposedHeaders(List.of("*"));
Expand Down

0 comments on commit 8fd14f0

Please sign in to comment.