Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions src/app/layout.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
import type { Metadata } from "next";
import "./globals.css";

// Statically prerendered pages cannot carry the per-request CSP nonce, so
// their script tags get blocked under strict-dynamic. Force dynamic rendering
// globally; only /login was static anyway.
export const dynamic = "force-dynamic";

export const metadata: Metadata = {
title: "DataShield",
description: "Self-hosted employee data breach monitoring",
Expand Down