diff --git a/app/dub.sh/(blog-post)/blog/[slug]/page.tsx b/app/dub.sh/(blog-post)/blog/[slug]/page.tsx index 8455516d83..ab6334e5d5 100644 --- a/app/dub.sh/(blog-post)/blog/[slug]/page.tsx +++ b/app/dub.sh/(blog-post)/blog/[slug]/page.tsx @@ -11,6 +11,8 @@ import { getTweet } from "react-tweet/api"; import BlurImage from "#/ui/blur-image"; import { BLOG_CATEGORIES } from "#/lib/constants/content"; +export const runtime = "nodejs"; + export async function generateStaticParams() { return allBlogPosts.map((post) => ({ slug: post.slug, diff --git a/app/dub.sh/help/article/[slug]/page.tsx b/app/dub.sh/help/article/[slug]/page.tsx index ac90be42eb..3f38114992 100644 --- a/app/dub.sh/help/article/[slug]/page.tsx +++ b/app/dub.sh/help/article/[slug]/page.tsx @@ -15,6 +15,8 @@ import { Metadata } from "next"; import { constructMetadata } from "#/lib/utils"; import { getTweet } from "react-tweet/api"; +export const runtime = "nodejs"; + export async function generateStaticParams() { return allHelpPosts.map((post) => ({ slug: post.slug,