Skip to content

content security policy blocks eval() in dashboard - components not loading. #4

Description

@cybersteffie

when running the project locally (localhost:3000), the browser throws a content security policy (csp) error related to the use of eval() or similar patterns like new function() or settimeout('[string]'). this seems to be triggered either by a dependency or something in the build setup.

clicking "Start Learning" triggers the "+ Create Flow" button to say "Create" then nothing happens.

how to reproduce

  1. start the dev server
  2. go to localhost:3000/dashboard
  3. open devtools → console
  4. see the error:

Image

content security policy of your site blocks the use of 'eval' in javascript

env info

  • os: Windows 11
  • browser: Chrome

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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