Skip to content

Commit

Permalink
Merge pull request #147 from EFUB4-Jukebox/develop
Browse files Browse the repository at this point in the history
[Deploy] 배포 v0.5.2 - CORS Location 헤더 expose 추가
  • Loading branch information
seohyun-lee authored Aug 5, 2024
2 parents 2a46b81 + 6749151 commit dd927dc
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 3 deletions.
10 changes: 10 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,16 @@ EFUB 4기 SWS 3팀 "SongPin" 프로젝트 백엔드 레포지토리입니다.

- 24.07.01 - 진행중

## 🌟 팀원 소개

| 이서현 | 정유정 | 황채린 | 문하영 |
|:-------------------------:|:----------------------:|:-----------------------:|:---------------------:|
| <img src="https://avatars.githubusercontent.com/u/32611398?v=4" width="125" height="125"/> | <img src="https://avatars.githubusercontent.com/u/141399892?v=4" width="125" height="125"/> | <img src="https://avatars.githubusercontent.com/u/87927105?v=4" width="125" height="125"/> | <img src="https://avatars.githubusercontent.com/u/124586544?v=4" width="125" height="125"/> |
| [@seohyun-lee](https://github.com/seohyun-lee) | [@jud1thDev](https://github.com/jud1thDev) | [@crHwang0822](https://github.com/crHwang0822) | [@gkdudans](https://github.com/gkdudans) |
| CI/CD 환경 구축 및 배포<br>Place, Follow, Alarm API 개발<br>통계 페이지, 지도 핀 정보 제공 | 스포티파이 API 연결<br>Pin, Song, Genre API 개발 | Member API 개발<br>Spring security, jwt, Redis | Playlist, Bookmark API 개발<br>Home 페이지 |



## 📝 규칙

#### 커밋 컨벤션
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
package sws.songpin.domain.member.dto.request;

import jakarta.validation.constraints.Email;
import jakarta.validation.constraints.NotEmpty;

public record LoginRequestDto(
Expand Down
3 changes: 1 addition & 2 deletions src/main/java/sws/songpin/global/config/SecurityConfig.java
Original file line number Diff line number Diff line change
Expand Up @@ -64,10 +64,9 @@ public CorsConfigurationSource corsConfigurationSource() {

configuration.setAllowedMethods(Arrays.asList("GET", "POST", "PUT", "PATCH", "DELETE", "HEAD", "OPTIONS"));
configuration.addAllowedHeader("*");
configuration.addExposedHeader("Set-Cookie");
configuration.setExposedHeaders(Arrays.asList("Set-Cookie", "Location"));
configuration.setAllowCredentials(true);


UrlBasedCorsConfigurationSource source = new UrlBasedCorsConfigurationSource();
source.registerCorsConfiguration("/**", configuration);
return source;
Expand Down

0 comments on commit dd927dc

Please sign in to comment.