I have added the following configuration in
<httpProtocol>
<customHeaders>
<add name="access-control-allow-headers" value="content-type" />
<add name="Access-Control-Allow-Origin" value="*" />
</customHeaders>
</httpProtocol>
I am using the following script in an aspx file
<script type="text/javascript" src="//registeriq.com/js/jquery.min.js"></script>
We have two servers for one web application. one is using http and another using https.
The above script works only on the http
server. It does not work on the server with https protocol. Also I am noticing that the system automatically appends https to //registeriq.com/js/jquery.min.js
on https
server...
Please help me.