Skip to content

Commit 2fcbcdf

Browse files
authored
Merge pull request #44 from babzip/chore/cors
chore: 프론트 배포 uri cors 허용
2 parents aeb6f9d + f2cfdaa commit 2fcbcdf

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/main/java/com/babzip/backend/global/config/security/CorsConfig.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
public class CorsConfig {
1212
public static CorsConfigurationSource corsConfigurationSource() {
1313
CorsConfiguration configuration = new CorsConfiguration();
14-
configuration.setAllowedOrigins(List.of("http://localhost:8080", "http://localhost:5173", "https://babzip.duckdns.org"));
14+
configuration.setAllowedOrigins(List.of("http://localhost:8080", "http://localhost:5173", "https://babzip.duckdns.org", "https://babzip.netlify.app"));
1515
configuration.setAllowedMethods(List.of("GET", "POST", "PUT", "PATCH", "DELETE"));
1616
configuration.setAllowedHeaders(List.of("*"));
1717
configuration.setMaxAge(3600L);

0 commit comments

Comments
 (0)