Skip to content

Commit

Permalink
Fix: SecurityConfig μˆ˜μ •
Browse files Browse the repository at this point in the history
  • Loading branch information
saokiritoni committed Dec 9, 2024
1 parent 5f2691b commit 96ca2c2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/dongguk/osori/config/SecurityConfig.java
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ public PasswordEncoder passwordEncoder() {
@Bean
public CorsConfigurationSource corsConfigurationSource() {
CorsConfiguration configuration = new CorsConfiguration();
configuration.setAllowedOrigins(List.of("http://localhost:3000", "https://2024-2-oss-proj-osori-fe.vercel.app"));
configuration.setAllowedOrigins(List.of("http://localhost:3000", "https://2024-2-oss-proj-osori-fe.vercel.app", "https://osori.store"));
configuration.setAllowedMethods(List.of("GET", "POST", "PUT", "DELETE", "OPTIONS", "PATCH"));
configuration.setAllowedHeaders(List.of("Authorization", "Cache-Control", "Content-Type"));
configuration.setAllowCredentials(true);
Expand Down

0 comments on commit 96ca2c2

Please sign in to comment.