fix(web): remove payload admin routes + withPayload (stabilize prod)
Payload CMS integration crashes the entire production app — the withPayload wrapper + admin routes break when DB tables don't exist and the layout conflicts with i18n routing. Keeping: payload.config.ts, blog/changelog pages with graceful DB fallback, static blog post page. Payload admin will be added back once properly integrated with a dedicated route group that doesn't inherit the main app layout. The blog post at /blog/peer-messaging-claude-code is static TSX and works without Payload runtime. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -1,14 +0,0 @@
|
||||
import "@payloadcms/next/css";
|
||||
import type { ReactNode } from "react";
|
||||
|
||||
export const metadata = {
|
||||
title: "Admin — claudemesh",
|
||||
};
|
||||
|
||||
export default function PayloadLayout({ children }: { children: ReactNode }) {
|
||||
return (
|
||||
<html lang="en">
|
||||
<body>{children}</body>
|
||||
</html>
|
||||
);
|
||||
}
|
||||
Reference in New Issue
Block a user