diff --git a/module-api/src/main/java/kernel/jdon/config/auth/OAuth2SecurityConfig.java b/module-api/src/main/java/kernel/jdon/config/auth/OAuth2SecurityConfig.java index 54883d383..6e87e7372 100644 --- a/module-api/src/main/java/kernel/jdon/config/auth/OAuth2SecurityConfig.java +++ b/module-api/src/main/java/kernel/jdon/config/auth/OAuth2SecurityConfig.java @@ -27,7 +27,7 @@ public SecurityFilterChain filterChain(HttpSecurity http) throws Exception { http.cors(corsCustomizer -> corsCustomizer.configurationSource(request -> { CorsConfiguration config = new CorsConfiguration(); - config.setAllowedOrigins(List.of("http://localhost:3000")); + config.setAllowedOrigins(List.of("http://localhost:3000", "https://peaceful-sopapillas-36c089.netlify.app")); config.setAllowedMethods(List.of("GET", "POST", "PUT", "DELETE")); config.setAllowedHeaders(List.of("*")); config.setMaxAge(3600L);