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
In the embedded console, the js file is served with a content type "text/plain"
So if I deploy this servlet in an application with spring security, I get the following error when I get to the page :
Refused to execute script from 'https://localhost:8080/admin/ff4j?rsc=js' because its MIME type ('text/plain') is not executable, and strict MIME type checking is enabled.
Is there any reason to serve the file in "text/plain" instead of "application/javascript" ?
The text was updated successfully, but these errors were encountered:
Hi,
In the embedded console, the js file is served with a content type "text/plain"
So if I deploy this servlet in an application with spring security, I get the following error when I get to the page :
Refused to execute script from 'https://localhost:8080/admin/ff4j?rsc=js' because its MIME type ('text/plain') is not executable, and strict MIME type checking is enabled.
Is there any reason to serve the file in "text/plain" instead of "application/javascript" ?
The text was updated successfully, but these errors were encountered: