Skip to content

Commit

Permalink
Merge pull request #139 from KAKAO-TOUR-API-CONTEST/devyj
Browse files Browse the repository at this point in the history
fix : sse proxy
  • Loading branch information
yyujin1231 authored Oct 11, 2024
2 parents 48b8d09 + 93b03fa commit 4f871da
Showing 1 changed file with 0 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,6 @@ public void message(ChatMessageDto messageDto, @Header("simpSessionAttributes")
}


@CrossOrigin(origins = "https://www.ijeju.shop/")
@GetMapping(value = "/api/chat/{roomId}/subscribe", produces = MediaType.TEXT_EVENT_STREAM_VALUE)
public SseEmitter subscribeToRoom(@PathVariable("roomId") Long roomId, @RequestParam(value = "token", required = false) String token) {
if (token != null && !token.isEmpty()) {
Expand Down

0 comments on commit 4f871da

Please sign in to comment.