MIME type is not executable and strict MIME type checking is enabled in AEM 6.3 project

Statement : Facing issue with JS in AEM 6.3

Solution :

Alternate Solution :
- It is because the Minify option was enabled on the Author and Publisher instance. 
- When i had looked at the Publish server log file i could see the Parser error and thought it could be minification issue.
- Go to system/console/configmgr
- Search for HTML library Manager  and Uncheck the minify option and save the changes.
- Reload the page to do sanity test.
- That's it!.


Permanent Solution :
- Minify the .js script using the Minify online tool.
- use the minified script in page and save
- Enable the Minify option
- Do the sanity test.

No comments:

Post a Comment