From 137bc90e185262f2cae9e3412ff563773d45280d Mon Sep 17 00:00:00 2001 From: Richie McIlroy <33632126+richiemcilroy@users.noreply.github.com> Date: Wed, 13 Nov 2024 14:23:17 +0000 Subject: [PATCH] feat: add force dynamic to robots --- apps/web/app/robots.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/apps/web/app/robots.ts b/apps/web/app/robots.ts index d0484f33..f9aa2dd5 100644 --- a/apps/web/app/robots.ts +++ b/apps/web/app/robots.ts @@ -1,6 +1,8 @@ import { seoPages } from "@/lib/seo-pages"; import { MetadataRoute } from "next"; +export const dynamic = 'force-dynamic'; + export default function robots(): MetadataRoute.Robots { // Get all SEO page slugs const seoPageSlugs = Object.keys(seoPages);