Skip to content

Commit

Permalink
refactor: 공유 url에서 path variable만 사용하도록 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
DrRivaski committed Aug 17, 2024
1 parent 0b2087c commit 1423a1e
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ public ResponseDto<ShareUrlInfoResponseDto> getShortenShareUrl(@Parameter(hidden
return ResponseDto.onSuccess(shareUrlInfoService.getShortenShareUrl(userId));
}

@GetMapping("/share/{shareUrl}")
@GetMapping("/{shareUrl}")
public ResponseEntity<Void> redirectWithShareUrl(@PathVariable String shareUrl, HttpServletRequest request) {
// session을 이용해 공유 url 저장
HttpSession session = request.getSession();
Expand Down

0 comments on commit 1423a1e

Please sign in to comment.