diff --git a/src/main/java/seoul/gonggong/global/config/CorsConfig.java b/src/main/java/seoul/gonggong/global/config/CorsConfig.java index d74a3c5..63deee1 100644 --- a/src/main/java/seoul/gonggong/global/config/CorsConfig.java +++ b/src/main/java/seoul/gonggong/global/config/CorsConfig.java @@ -17,7 +17,8 @@ public CorsFilter corsFilter() { CorsConfiguration configuration = new CorsConfiguration(); configuration.setAllowCredentials(true); - configuration.setAllowedOrigins(Arrays.asList("http://localhost:3000", "https://bokdakbang.store")); + configuration.setAllowedOrigins(Arrays.asList("http://localhost:3000", "https://bokdakbang.store", + "https://bokdak-bang.vercel.app")); configuration.addAllowedHeader("*"); configuration.setAllowedMethods(Arrays.asList("HEAD", "GET", "POST", "PUT", "DELETE", "PATCH", "OPTIONS"));