我尝试添加浏览器代理脚本,但mime类型错误。
The script from “https://dxc.dev.ol.ge:8443/api/1/urn:ca:tenantId:default-tenant/urn:ca:appId:default-app/bajs?agent=browser” was loaded even though its MIME type (“application/json”) is not a valid JavaScript MIME type.
什么意思MIME TYPE错误?我将此代码添加到index.html
<script type="text/javascript" id="ca_eum_ba" src="https://dxc.dev.ol.ge:8443/api/1/urn:ca:tenantId:default-tenant/urn:ca:appId:default-app/bajs?agent=browser" data-profileurl="https://dxc.dev.ol.ge:8443/api/1/urn:ca:tenantId:default-tenant/urn:ca:appId:default-app/profile?agent=browser" data-tenantid="default-tenant" data-appid="default-app" data-appkey="b0361800-4736-11e6-b8e5-bddc75280658"></script>