From 8813f288e874fcedef3262d1160834cfb5ee9112 Mon Sep 17 00:00:00 2001 From: Rhys Sullivan <39114868+RhysSullivan@users.noreply.github.com> Date: Fri, 18 Oct 2024 08:36:39 -0700 Subject: [PATCH 1/4] enable ppr --- next.config.mjs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/next.config.mjs b/next.config.mjs index 9a0249f..e481729 100644 --- a/next.config.mjs +++ b/next.config.mjs @@ -1,7 +1,7 @@ /** @type {import('next').NextConfig} */ const nextConfig = { experimental: { - ppr: false, + ppr: true, }, typescript: { ignoreBuildErrors: true, From 523b2d918a8c7d537c8054c110f88b928830bfa4 Mon Sep 17 00:00:00 2001 From: Rhys Sullivan <39114868+RhysSullivan@users.noreply.github.com> Date: Fri, 18 Oct 2024 08:44:55 -0700 Subject: [PATCH 2/4] try out encoding uris --- src/app/(category-sidebar)/layout.tsx | 2 +- src/app/(category-sidebar)/products/[category]/page.tsx | 2 +- src/app/order/page.tsx | 2 +- src/components/ui/product-card.tsx | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/app/(category-sidebar)/layout.tsx b/src/app/(category-sidebar)/layout.tsx index 3c211c6..b92c930 100644 --- a/src/app/(category-sidebar)/layout.tsx +++ b/src/app/(category-sidebar)/layout.tsx @@ -18,7 +18,7 @@ export default async function Layout({ {allCategories.map((category) => (