You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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."
Enter the localhost URL for the dashboard. In networking in chrome dev tools you can see the content type response headers. I do not get the MIME type error when running locally. But we do get it on our deployed service on AWS Fargate.
Environment
sorry-cypress version: v1.0.0-rc.5
cypress version: unknown
platform: docker | aws fargate
service: dashboard
The text was updated successfully, but these errors were encountered:
Summary
index.mjs
withContent-Type: application/octet-stream
.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
v1.0.0-rc.5
unknown
docker | aws fargate
dashboard
The text was updated successfully, but these errors were encountered: