diff --git a/src/main/java/site/katchup/katchupserver/config/WebMvcConfig.java b/src/main/java/site/katchup/katchupserver/config/WebMvcConfig.java index 901075c..4f2c331 100644 --- a/src/main/java/site/katchup/katchupserver/config/WebMvcConfig.java +++ b/src/main/java/site/katchup/katchupserver/config/WebMvcConfig.java @@ -14,6 +14,7 @@ public void addCorsMappings(CorsRegistry registry) { .allowedOrigins("https://www.katchup.kr", "http://localhost:3000") .allowedMethods("GET", "POST", "PUT", "PATCH", "DELETE", "OPTIONS") .allowedHeaders("*") + .exposedHeaders("Location") .allowCredentials(true) .maxAge(MAX_AGE_SECS); }