fix: render pages dynamically for CSP nonces
Deploy / validate-dispatch (push) Successful in 1s
Deploy / scheduled-rebuild-dev (push) Skipped
Deploy / scheduled-rebuild-master (push) Skipped
Deploy / rollback-dev (push) Skipped
Deploy / rollback-master (push) Skipped
Deploy / changes (push) Successful in 4s
Deploy / context (push) Successful in 1s
Deploy / app-quality (push) Successful in 1m7s
Deploy / secret-scan (push) Successful in 5s
Deploy / security-deps (push) Successful in 5s
Deploy / app-image (push) Successful in 54s
Deploy / deploy-master (push) Skipped
Deploy / deploy-dev (push) Successful in 12s

This commit is contained in:
Per Hoener
2026-09-19 17:52:55 +02:00
parent cc1cc76188
commit 0aa8ac426b
+4 -1
View File
@@ -1,4 +1,5 @@
import type { Metadata, Viewport } from "next"; import type { Metadata, Viewport } from "next";
import { connection } from "next/server";
import type { ReactNode } from "react"; import type { ReactNode } from "react";
import Footer from "../components/Footer"; import Footer from "../components/Footer";
import Header from "../components/Header"; import Header from "../components/Header";
@@ -37,7 +38,9 @@ export const viewport: Viewport = {
initialScale: 1, initialScale: 1,
}; };
export default function RootLayout({ children }: Readonly<{ children: ReactNode }>) { export default async function RootLayout({ children }: Readonly<{ children: ReactNode }>) {
await connection();
return ( return (
<html lang="de"> <html lang="de">
<body> <body>