|
|
|
@ -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);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|