Skip to content

Commit c00e1f7

Browse files
committed
Don't use edge runtime
1 parent 90b3421 commit c00e1f7

File tree

3 files changed

+0
-9
lines changed

3 files changed

+0
-9
lines changed

src/app/(category-sidebar)/products/[category]/[subcategory]/[product]/opengraph-image.tsx

-3
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,6 @@ import { ImageResponse } from "next/og";
22
import { notFound } from "next/navigation";
33
import { getProductDetails } from "@/lib/queries";
44

5-
// Route segment config
6-
export const runtime = "edge";
7-
85
// Image metadata
96
export const alt = "About the product";
107
export const size = {

src/app/(category-sidebar)/products/[category]/[subcategory]/opengraph-image.tsx

-3
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,6 @@ import { ImageResponse } from "next/og";
22
import { notFound } from "next/navigation";
33
import { getSubcategory } from "@/lib/queries";
44

5-
// Route segment config
6-
export const runtime = "edge";
7-
85
// Image metadata
96
export const alt = "About the subcategory";
107
export const size = {

src/app/(category-sidebar)/products/[category]/opengraph-image.tsx

-3
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,6 @@ import { ImageResponse } from "next/og";
22
import { notFound } from "next/navigation";
33
import { getCategory } from "@/lib/queries";
44

5-
// Route segment config
6-
export const runtime = "edge";
7-
85
// Image metadata
96
export const alt = "About the category";
107
export const size = {

0 commit comments

Comments
 (0)