rm open graph edge functions

This commit is contained in:
andr-ew 2023-06-21 13:02:48 -05:00
parent fc1a3b768f
commit ace71f52d4
2 changed files with 0 additions and 18 deletions

View File

@ -1,11 +0,0 @@
import OpengraphImage from 'components/opengraph-image';
import { getPage } from 'lib/shopify';
export const runtime = 'edge';
export default async function Image({ params }: { params: { page: string } }) {
const page = await getPage(params.page);
const title = page.seo?.title || page.title;
return await OpengraphImage({ title });
}

View File

@ -1,7 +0,0 @@
import OpengraphImage from 'components/opengraph-image';
export const runtime = 'edge';
export default async function Image() {
return await OpengraphImage();
}