Skip to content

Commit

Permalink
imageUrl uuid 계산 로직 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
YOOJS1205 committed Feb 9, 2024
1 parent 2f980e9 commit 8e55bed
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app/review/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ export default function Page() {

// NOTE: Presigned URL
const { data: presignedUrl, refetch } = useGetPresignedUrl(
imageUrl.slice(27),
imageUrl.split('/')[imageUrl.split('/').length - 1],
);

// NOTE: 이미지 로드 시 presigned URL 권한 요청
Expand Down

0 comments on commit 8e55bed

Please sign in to comment.