next.js/test/integration/css-fixtures/csp-style-src-nonce/next.config.js
next.config.js16 lines263 B
module.exports = {
  async headers() {
    return [
      {
        source: '/(.*)',
        headers: [
          {
            key: 'Content-Security-Policy',
            value: `style-src 'self' 'nonce-VmVyY2Vs';`,
          },
        ],
      },
    ]
  },
}
Quest for Codev2.0.0
/
SIGN IN