fix(web): force-dynamic on payload pages (no DB at build time)
Some checks failed
CI / Lint (push) Has been cancelled
CI / Typecheck (push) Has been cancelled
CI / Broker tests (Postgres) (push) Has been cancelled
CI / Docker build (linux/amd64) (push) Has been cancelled

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
Alejandro Gutiérrez
2026-04-06 01:15:53 +01:00
parent 03ca9f10d3
commit 8de952d91b
3 changed files with 6 additions and 0 deletions

View File

@@ -3,6 +3,8 @@ import { getPayload } from "payload";
import config from "@payload-config";
import { RichText } from "@payloadcms/richtext-lexical/react";
export const dynamic = "force-dynamic";
type Props = { params: Promise<{ slug: string }> };
export async function generateMetadata({ params }: Props) {

View File

@@ -2,6 +2,8 @@ import Link from "next/link";
import { getPayload } from "payload";
import config from "@payload-config";
export const dynamic = "force-dynamic";
export const metadata = {
title: "Blog — claudemesh",
description: "Engineering notes on peer messaging, protocol design, and multi-agent security.",

View File

@@ -1,6 +1,8 @@
import { getPayload } from "payload";
import config from "@payload-config";
export const dynamic = "force-dynamic";
export const metadata = {
title: "Changelog — claudemesh",
description: "Release history for claudemesh-cli.",