[MOD] jwt cors 수정

main
bjkim 10 months ago
parent 9bd64be8f4
commit b95ef3144c

@ -16,7 +16,7 @@ public class WebConfiguration implements WebMvcConfigurer {
.allowedMethods("GET", "POST", "PUT", "DELETE", "OPTIONS") .allowedMethods("GET", "POST", "PUT", "DELETE", "OPTIONS")
.allowedHeaders("*") // 필요하면 "cuuva-jwt", "Content-Type", "Authorization" 명시 가능 .allowedHeaders("*") // 필요하면 "cuuva-jwt", "Content-Type", "Authorization" 명시 가능
.exposedHeaders("cuuva-jwt") .exposedHeaders("cuuva-jwt")
.allowCredentials(true) //.allowCredentials(true)
.maxAge(3600); .maxAge(3600);
} }

Loading…
Cancel
Save