Skip to content

Commit 8c631f2

Browse files
committed
badgeImg error solved
1 parent 15f2986 commit 8c631f2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

server/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ app.get('/:username', async (req, res) => {
7979
const profileData = {
8080
fullName,
8181
username,
82-
badgeImg: badgeImg ? `https://leetcode.com${badgeImg}` : undefined,
82+
badgeImg: badgeImg ? `${badgeImg}` : undefined,
8383
rank,
8484
image: image ? image : undefined,
8585
};

0 commit comments

Comments
 (0)