Skip to content

Refused to apply inline style because it violates the following Content Security Policy directive: "style-src 'self' 'nonce-ENb21QT9vf4dEbbGNxh+DQ=='"Β #2821

@Sudeepkumar799

Description

@Sudeepkumar799

The Problem:

I am getting following error when I add CSP headers in my application.

image
Screenshot (101)

To handle inline styles and scripts violation I am adding nonce using csp-html-webpack-plugin. But I am still seeing this issue.

Any help will be greatly appreciated!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions