Skip to content

Commit

Permalink
fix(website): fix broken open graph images (#2065)
Browse files Browse the repository at this point in the history
  • Loading branch information
jerensl authored Jul 6, 2024
1 parent 1b763f2 commit e61b2fc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions modelina-website/src/components/layouts/Head.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,9 @@ export interface HeadProps {
export default function HeadComponent({
title,
description = 'Open source tools to easily build and maintain your event-driven architecture. All powered by the AsyncAPI specification, the industry standard for defining asynchronous APIs.',
image = '/img/social/website-card.jpg'
image = '/img/card/website-card.jpg'
}: HeadProps) {
const url = process.env.DEPLOY_PRIME_URL || process.env.DEPLOY_URL;
const url = process.env.NEXT_PUBLIC_DEPLOY_PRIME_URL || process.env.NEXT_PUBLIC_DEPLOY_URL;
const { path } = useContext(AppContext);
const permalink = `${url}${path}`;
let type = 'website';
Expand Down

0 comments on commit e61b2fc

Please sign in to comment.