Skip to content

Commit

Permalink
🐛 fix image
Browse files Browse the repository at this point in the history
  • Loading branch information
nrmnqdds committed Oct 5, 2024
1 parent 92cc543 commit eba6b8d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/server/profile-scraper.ts
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ export async function GetUserProfile(
throw new Error("Selectors not found on the page.");
}

const imageURL = `https://corsproxy.io/?https://smartcard.iium.edu.my/packages/card/printing/camera/uploads/original/${username}.jpeg`;
const imageURL = `https://smartcard.iium.edu.my/packages/card/printing/camera/uploads/original/${username}.jpeg`;
const name =
hiddenTextSelector.textContent?.trim().replace(/\s+/g, " ") ?? "";

Expand Down

0 comments on commit eba6b8d

Please sign in to comment.