Skip to content

Netlify CSP errors #234

@leehbi

Description

@leehbi

I'm using your example netlify config file but I'm getting lots of csp errors. The syntax highlighting is working locally but not remotely.

See leehbi.com

Content-Security-Policy: The page’s settings blocked an inline style (style-src-attr) from being applied because it violates the following directive: “style-src 'self' https://talk.hyvor.com https://cdn.cloudflare.com https://cdn.jsdelivr.net https://fonts.googleapis.com”. Consider using a hash ('sha256-Pau/mFwKMbg/2fhJaT3LxfYK74s4Bcagq+jjihRVXCc=', requires 'unsafe-hashes' for style attributes) or a nonce.

Zola 0.22.1

Repo : https://github.com/leehbi/BlogZola

Any ideas?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions