Skip to content

Commit

Permalink
Merge pull request #43 from hive-one/og-photo-fix
Browse files Browse the repository at this point in the history
og image fix
  • Loading branch information
rishimohan authored Nov 27, 2023
2 parents b2fbbf7 + e90d15e commit bb6a3db
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions apps/web/pages/[user].js
Original file line number Diff line number Diff line change
Expand Up @@ -125,9 +125,9 @@ const ProfilePage = ({ user, userEvents, userSession }) => {
description: `${profileData?.bio ? userPlainTextBio : `${profileData?.name} profile on Borg.id`}`,
images: [
{
url: `${process.env.NEXT_PUBLIC_WEBAPP_URL}/api/og?id=${encodeURIComponent(userPhoto())}&n=${
profileData?.name
}&w=${encodeURIComponent(currentCompany)}&r=${encodeURIComponent(
url: `${process.env.NEXT_PUBLIC_WEBAPP_URL}/api/og?id=${encodeURIComponent(
`https://api.dicebear.com/7.x/shapes/svg?seed=${profileData.uid}`
)}&n=${profileData?.name}&w=${encodeURIComponent(currentCompany)}&r=${encodeURIComponent(
currentRole
)}&t=${encodeURIComponent(profileData?.adviceOn)}`,
// url: `${process.env.NEXT_PUBLIC_WEBAPP_URL}/api/og?profileID=${profileData?.username}`,
Expand Down

0 comments on commit bb6a3db

Please sign in to comment.