CSP nonce mismatch causes script execution failure in production
Goal: Configure a Next.js application so that inline script elements execute successfully in both local development and production deployments by using a nonce‑based Content Security Policy. In local development the Next.js dev server generates a fresh nonce for each request, adds it to the Content‑Security‑Policy header and to the nonce attribute of every s