Skip to content

Commit

Permalink
Merge pull request TeamMajorLink#65 from kimdavid0521/feat#64
Browse files Browse the repository at this point in the history
x-auth-token 허용헤더에 추가
  • Loading branch information
kimdavid0521 authored Aug 21, 2024
2 parents ed04027 + 99d79b0 commit bb95407
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ public void addCorsMappings(CorsRegistry registry) {
"http://localhost:3004"
) //프론트 테스트 url입니다.
.allowedMethods("POST", "GET", "DELETE", "PUT", "PATCH", "OPTIONS")
.allowedHeaders("Content-Type", "Authorization")
.allowedHeaders("Content-Type", "Authorization","x-auth-token")
.allowCredentials(true);
}
}
2 changes: 1 addition & 1 deletion majorLink/src/main/resources/application.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ spring:

data:
redis:
host: localhost
host: ${REDIS_AWS_ENDPOINT}
port: 6379
database: 1

Expand Down

0 comments on commit bb95407

Please sign in to comment.