Skip to content

Commit

Permalink
fix: expose header location 설정
Browse files Browse the repository at this point in the history
  • Loading branch information
le2sky committed Feb 23, 2025
1 parent 72f6a9d commit 5f3e21e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions maeil-mail/src/main/java/maeilmail/support/WebMvcConfig.java
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
import maeilmail.admin.AdminAuthInterceptor;
import maeilwiki.member.api.MemberIdentityArgumentResolver;
import org.springframework.context.annotation.Configuration;
import org.springframework.http.HttpHeaders;
import org.springframework.http.HttpMethod;
import org.springframework.web.method.support.HandlerMethodArgumentResolver;
import org.springframework.web.servlet.config.annotation.CorsRegistry;
Expand Down Expand Up @@ -50,6 +51,7 @@ public void addCorsMappings(CorsRegistry registry) {
"https://maeil-mail.kr",
"https://wiki.maeil-mail.kr"
)
.exposedHeaders(HttpHeaders.LOCATION)
.allowCredentials(true);
}
}

0 comments on commit 5f3e21e

Please sign in to comment.