electrode-io / electrode

Web applications with node.js and React
Other
2.1k stars 301 forks source link

[fix] disable nonce for script,style or both #1861

Closed divyakarippath closed 2 years ago

divyakarippath commented 2 years ago

Allow users to disable nonce for script, style or both.

  1. To disable nonce for both:

    nonce: false

  2. To disable nonce just for style and use default nonce settings for script: nonce: { style: false }
  3. To disable nonce just for script and use default nonce setting for style: nonce: { script: false }
CLAassistant commented 2 years ago

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.


Divya Karippath seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.
You have signed the CLA already but the status is still pending? Let us recheck it.