mirror of
https://github.com/vercel/commerce.git
synced 2025-05-15 14:06:59 +00:00
14 lines
461 B
TypeScript
14 lines
461 B
TypeScript
import OpengraphImage from 'components/opengraph-image';
|
|
// import { getPage } from 'lib/medusa';
|
|
|
|
export const runtime = 'edge';
|
|
|
|
export default async function Image({ params }: { params: { page: string } }) {
|
|
// Medusa doesn't support content pages right now
|
|
// const page = await getPage(params.page);
|
|
// const title = page.seo?.title || page.title;
|
|
const title = process.env.SITE_NAME || 'Medusa Store';
|
|
|
|
return await OpengraphImage({ title });
|
|
}
|