Skip to content

Commit

Permalink
BaseURL for unfurl to work on Twitter
Browse files Browse the repository at this point in the history
  • Loading branch information
carletex committed Jul 13, 2023
1 parent 2a5c338 commit cfc5ffd
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions packages/nextjs/components/MetaHeader.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,7 @@ type MetaHeaderProps = {
children?: React.ReactNode;
};

// Images must have an absolute path to work properly on Twitter.
// We try to get it dynamically from Vercel, but we default to relative path.
const baseUrl = process.env.NEXT_PUBLIC_VERCEL_URL ? `https://${process.env.NEXT_PUBLIC_VERCEL_URL}/` : "/";
const baseUrl = "https://buidlguidl.com/";

export const MetaHeader = ({
title = "BuidlGuidl",
Expand Down

0 comments on commit cfc5ffd

Please sign in to comment.