Web frontend that is all stored on the mainframe and runs in CICS TS. Works fine in IE but not EDGE.
In Edge get the following error: Refused to execute script from 'http://999.999.99.999:3028/objserv/RMFGEN01.js' because its MIME type ('image/gif') is not executable.
I replaced the actual IP with nines just to hide the IP address in this question. It has the correct location on the mainframe where the script is stored and again it works in IE. Any thoughts/suggestions?
Thanks! David
Thanks for the suggestions. We determined there wasn't a URIMAP being used and we tried to implement one but still having issues. We figured out that OBJSERV is actually a CICS program that was setting the media type parm. We updated that program to pass text/javascript for .js requests and we are up and running on Edge and Chrome. Thanks!
David -- take a look at the URIMAP that is controlling the URL for your JavaScript file(s).
If your path in the URIMAP is /objserv/* then you would have set one MIME type in the URIMAP definition. This can be a problem when you have different file types in the same directory.