Skip to content

gantt.config.csp = true could not working #135

@g243307885

Description

@g243307885

I have enabled Content Security Policy in my Angular project and set the value of gantt.config.csp to true, but it still prompts an error message

dhtmlxgantt.js:20 Refused to apply inline style because it violates the following Content Security Policy directive: "style-src 'self' 'nonce-randomNonceGoesHere'". Either the 'unsafe-inline' keyword, a hash ('sha256-V2Nqg6DDKwrCjdMqvumaraU8t+T2Dax9wA2sBV/y9Tw='), or a nonce ('nonce-...') is required to enable inline execution. Note that hashes do not apply to event handlers, style attributes and javascript: navigations unless the 'unsafe-hashes' keyword is present.

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