Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: #762

Open
xpeuvr327 opened this issue Dec 17, 2024 · 3 comments
Open

[Bug]: #762

xpeuvr327 opened this issue Dec 17, 2024 · 3 comments
Labels
bug Something isn't working triage yet to be reviewed

Comments

@xpeuvr327
Copy link

Expected Behavior

Pop-up should appear

Current Behavior

Page loads and even the scripts are loaded, but i get Failed to load module script: Expected a JavaScript module script but the server responded with a MIME type of "application/octet-stream". Strict MIME type checking is enforced for module scripts per HTML spec.

Steps to reproduce

  1. Download the cookieconsent-config.js at https://playground.cookieconsent.orestbida.com/
  2. Place the css and head in a html page with Google Analytics installed
  3. Open it up and nothing happens

Proposed fix or additional info.

No response

Version

3.0.1

On which browser do you see the issue?

Chrome

@xpeuvr327 xpeuvr327 added the bug Something isn't working label Dec 17, 2024
@github-actions github-actions bot added the triage yet to be reviewed label Dec 17, 2024
@alxndr-w
Copy link

You need to fix that on your side (the server)

@xpeuvr327
Copy link
Author

You need to fix that on your side (the server)

How? I was literally testing with python -m http.server

@alxndr-w
Copy link

Deliver the resource with a correct mime-type, as the error message suggests.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working triage yet to be reviewed
Projects
None yet
Development

No branches or pull requests

2 participants