Skip to content

Commit

Permalink
[BE] 테스트 서버 배포 (#759)
Browse files Browse the repository at this point in the history
* refactor: 링크 삭제 시 액세스코드 검증 추가

* test: 테스트용 fakeServer 구현

* test: fakeServer 테스트 추가

* test: OpenGraphServiceTest 테스트 개선

* test: 레퍼런스링크와 오픈그래프 테스트 개선

* refactor: 페어룸으로 레퍼런스링크 찾는 메서드

* feat: github OAuth 간소화 (#731)

* [BE] CORS 추가 (#733)

* feat: github OAuth 간소화

* feat: github OAuth 간소화

* refactor: 페어룸 존재 여부 확인 API 변경

* refactor: 메서드 이름 변경

* Revert "[BE] CORS 추가 (#733)"

This reverts commit 2d4fbee.

* Revert "feat: github OAuth 간소화 (#731) (#732)"

This reverts commit 7cf9850.

* fix: DB 커넥션 고갈 문제 수정

* fix: nginx 설정 해더 추가 (#758)

---------

Co-authored-by: yechop <[email protected]>
Co-authored-by: 이예찬 <[email protected]>
Co-authored-by: reddevilmidzy <[email protected]>
Co-authored-by: Redddy <[email protected]>
  • Loading branch information
5 people authored Oct 11, 2024
1 parent 6458a6a commit 0a60f35
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -74,5 +74,4 @@ ResponseEntity<List<PairRoomMemberResponse>> getPairRooms(
@ApiResponse(responseCode = "200", description = "페어룸 존재 여부", content = @Content(mediaType = MediaType.APPLICATION_JSON_VALUE,
schema = @Schema(implementation = PairRoomExistResponse.class)))
ResponseEntity<PairRoomExistResponse> pairRoomExists(String accessCode);

}
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,9 @@ public class SseController implements SseDocs {
public ResponseEntity<SseEmitter> createConnection(@PathVariable("key") final String key) {
final SseEmitter sseEmitter = sseService.connect(key);

return ResponseEntity.ok(sseEmitter);
return ResponseEntity.ok()
.header("X-Accel-Buffering", "no")
.body(sseEmitter);
}

@DeleteMapping("/{key}/connect")
Expand Down
1 change: 1 addition & 0 deletions backend/src/main/resources/application-prod.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ spring:
hibernate:
ddl-auto: ${DDL_AUTO}
database-platform: org.hibernate.dialect.MySQLDialect
open-in-view: false

springdoc:
swagger-ui:
Expand Down

0 comments on commit 0a60f35

Please sign in to comment.