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

Configure mco console plugin web server to use recommended MIME type #1242

Open
SanjalKatiyar opened this issue Feb 29, 2024 · 0 comments
Open

Comments

@SanjalKatiyar
Copy link
Collaborator

Severity: Medium
Priority: Low

Current behaviour (checked on OCP/MCO 4.15):
Request URL: https://<OCP_BASE_URL>/api/plugins/odf-multicluster-console/exposed-features-chunk.js

Response headers:

content-type: application/javascript
x-content-type-options: nosniff

application/javascript is considered to be a legacy JavaScript MIME type but is still a valid one for now. Proper MIME type for JavaScript according to current HTML spec is text/javascript.

Refer: openshift/console#13637 (comment) for more details.

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

No branches or pull requests

1 participant