Skip to content

Commit e495ce6

Browse files
committed
refactor: activity proof s3 link
1 parent 65344e0 commit e495ce6

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

front/src/components/activity/ActivityProof/ActivityProof.tsx

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,7 @@ export const ActivityProof = ({
2020
onDelete,
2121
}: Props): JSX.Element => {
2222
const isImage = url?.match(/\.(jpeg|jpg|gif|png|PNG|JPG|JPE|GIF)$/) != null;
23-
const proxyUrl = url
24-
? `${process.env.REACT_APP_BACKEND_URL}/activity/image-proxy?url=${url}`
25-
: "";
23+
const proxyUrl = url ? url : "";
2624

2725
const handleDelete = () => {
2826
if (onDelete && fileName) {

0 commit comments

Comments
 (0)