feat: redesign CMS and unify German admin UI
This commit is contained in:
+3
-3
@@ -6,7 +6,7 @@ import { fileURLToPath } from "url";
|
||||
const __filename = fileURLToPath(import.meta.url);
|
||||
const dirname = path.dirname(__filename);
|
||||
|
||||
// Applied to every route, including /admin and /api — none of these
|
||||
// Applied to every route, including /admin and /api - none of these
|
||||
// constrain what the page can load/render, so they can't break the Payload
|
||||
// admin bundle. Camera/microphone/display-capture are allowed for the
|
||||
// site's own origin because the WebRTC call pages (app/(call)/**) need them.
|
||||
@@ -27,7 +27,7 @@ const baseSecurityHeaders = [
|
||||
// at runtime. style-src needs
|
||||
// 'unsafe-inline' because Next App Router emits inline RSC flight/bootstrap
|
||||
// scripts that are required for hydration. script-src allows 'unsafe-eval'
|
||||
// only in dev, matching Next's own documented CSP guidance — React uses eval
|
||||
// only in dev, matching Next's own documented CSP guidance - React uses eval
|
||||
// there for server-error-stack reconstruction; neither React nor Next use it
|
||||
// in a production build.
|
||||
const isDev = process.env.NODE_ENV === "development";
|
||||
@@ -57,7 +57,7 @@ const nextConfig: NextConfig = {
|
||||
},
|
||||
],
|
||||
},
|
||||
// Two root layouts exist — app/(frontend) and app/(payload) — so a single
|
||||
// Two root layouts exist - app/(frontend) and app/(payload) - so a single
|
||||
// not-found.tsx can't compose a 404; see app/global-not-found.tsx.
|
||||
experimental: {
|
||||
globalNotFound: true,
|
||||
|
||||
Reference in New Issue
Block a user