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

Dashboard index.mjs MIME Type Blocked by Chrome #321

Closed
kevinmstephens opened this issue Apr 21, 2021 · 3 comments · Fixed by #322
Closed

Dashboard index.mjs MIME Type Blocked by Chrome #321

kevinmstephens opened this issue Apr 21, 2021 · 3 comments · Fixed by #322
Assignees

Comments

@kevinmstephens
Copy link

kevinmstephens commented Apr 21, 2021

Summary

  • Sorry cypress dashboard returns index.mjs with Content-Type: application/octet-stream.
  • This file should be set as Content-Type: application/javascript so that browser MIME type checking doesn't block it.

Error seen in browser console:

"Refused to execute script from 'https://{hostname}/index.mjs?ABC123}' because its MIME type ('application/octet-stream') is not executable, and strict MIME type checking is enabled."

How to reproduce

Environment

  • sorry-cypress version: v1.0.0-rc.5
  • cypress version: unknown
  • platform: docker | aws fargate
  • service: dashboard
@agoldis agoldis self-assigned this Apr 22, 2021
@agoldis
Copy link
Collaborator

agoldis commented Apr 22, 2021

@agoldis
Copy link
Collaborator

agoldis commented Apr 22, 2021

Closed in #322

@agoldis agoldis closed this as completed Apr 22, 2021
@kevinmstephens
Copy link
Author

@agoldis Thanks!!!!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants