Skip to content

Commit 626dc20

Browse files
MuhetAbdulKhaliq59
andauthored
Update cover image (#308)
* bug(fixing TTL Page): Removing literal string (#297) - use enum instead of literal string * Update Resume.tsx --------- Co-authored-by: AbdoulKhaliq <[email protected]>
1 parent ec4eacd commit 626dc20

File tree

5 files changed

+416
-385
lines changed

5 files changed

+416
-385
lines changed

src/components/ProfileCoverpage.tsx

+2-2
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ export default function ProfileCoverpage({
6262
formData.append('upload_preset', 'my_upload');
6363

6464
const avatar = await axios.post(
65-
'https://api.cloudinary.com/v1_1/dj24yfas5/image/upload',
65+
`${process.env.COVER_IMAGE_URL}`,
6666
formData,
6767
);
6868
/* istanbul ignore next */
@@ -97,7 +97,7 @@ export default function ProfileCoverpage({
9797
formData.append('upload_preset', 'my_upload');
9898

9999
const cover = await axios.post(
100-
'https://api.cloudinary.com/v1_1/dta2axdpw/image/upload',
100+
`${process.env.COVER_IMAGE_URL}`,
101101
formData,
102102
);
103103
/* istanbul ignore next */

0 commit comments

Comments
 (0)