Skip to content

Commit

Permalink
fix: 지원하기 요청 수정, cors patch 허용
Browse files Browse the repository at this point in the history
  • Loading branch information
gorapang committed Dec 23, 2024
1 parent b9d8c02 commit 59c9b4b
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ public void addCorsMappings(CorsRegistry registry) {
.allowedOrigins("http://localhost:3000",
"http://localhost:3001",
"https://innerjoin.vercel.app") // 허용할 도메인
.allowedMethods("GET", "POST", "PUT", "DELETE", "OPTIONS") // 허용할 HTTP 메소드
.allowedMethods("GET", "POST", "PUT", "DELETE", "PATCH", "OPTIONS") // 허용할 HTTP 메소드
.allowedHeaders("*") // 허용할 헤더
.allowCredentials(true);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,5 @@
@AllArgsConstructor
public class ApplicationRequestDto {
private Long recruitingId;
private Long applicantId;
private List<AnswerRequestDto> answers;
}

0 comments on commit 59c9b4b

Please sign in to comment.