Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

HOTFIX 53 -서버 헤더값 받을 수 있게 설정 수정 #54

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions src/main/kotlin/mara/server/config/cors/CorsConfig.kt
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ class CorsConfig : WebMvcConfigurer {
.allowedOriginPatterns("*") // 모든 도메인에 대해 액세스 허용
.allowedMethods("GET", "POST", "PUT", "PATCH", "DELETE", "OPTIONS") // 허용할 HTTP 메서드
.allowedHeaders("*") // 모든 헤더 허용
.exposedHeaders("*")
.allowCredentials(true) // 자격 증명 허용
.maxAge(3600) // CORS preflight 요청 결과 캐싱 시간 (초 단위)
}
Expand Down
Loading